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

@@ -62,3 +62,6 @@ impl HeaderFormat for Connection {
}
}
bench_header!(close, Connection, { vec![b"close".to_vec()] })
bench_header!(keep_alive, Connection, { vec![b"keep-alive".to_vec()] })
bench_header!(header, Connection, { vec![b"authorization".to_vec()] })