Add benchmarks for all implemented headers except set-cookie.
This commit is contained in:
@@ -178,3 +178,6 @@ mod tests {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
bench_header!(raw, Authorization<String>, { vec![b"foo bar baz".to_vec()] })
|
||||
bench_header!(basic, Authorization<Basic>, { vec![b"Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==".to_vec()] })
|
||||
|
||||
Reference in New Issue
Block a user