aquatic_http: add criterion benchmarks for request from path parsing

About 35% improvement by using both memchr methods
This commit is contained in:
Joakim Frostegård 2020-07-19 01:58:41 +02:00
parent 9b0956cc91
commit a8e355f22a
17 changed files with 2441 additions and 5 deletions

View file

@ -0,0 +1,5 @@
#!/bin/sh
export RUSTFLAGS="-C target-cpu=native"
cargo bench --bench bench_request_from_path -- --noplot --baseline no-memchr --load-baseline latest