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

@@ -65,3 +65,5 @@ impl HeaderFormat for Accept {
}
}
bench_header!(bench, Accept, { vec![b"text/plain; q=0.5, text/html".to_vec()] })