mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_http: add criterion benchmarks for request from path parsing
About 35% improvement by using both memchr methods
This commit is contained in:
parent
9b0956cc91
commit
a8e355f22a
17 changed files with 2441 additions and 5 deletions
5
scripts/criterion/aquatic-http-request-from-path.sh
Executable file
5
scripts/criterion/aquatic-http-request-from-path.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue