Add benchmarks for all implemented headers except set-cookie.

This commit is contained in:
Jonathan Reem
2014-11-10 16:32:30 -08:00
parent 18f5e89432
commit d4312c8fe8
13 changed files with 31 additions and 0 deletions

View File

@@ -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()] })