mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 09:45:31 +00:00
aquatic_http: add criterion benchmark for announce response to bytes
Speedup of custom implementation compared to using bendy: announce-response-to-bytes: time: [413.77 ns 415.34 ns 417.08 ns] change: [-93.074% -93.021% -92.968%] (p = 0.00 < 0.01) Performance has improved.
This commit is contained in:
parent
9df1f0ecc6
commit
4caf174da5
13 changed files with 2064 additions and 0 deletions
7
scripts/criterion/aquatic-http-announce-response-to-bytes.sh
Executable file
7
scripts/criterion/aquatic-http-announce-response-to-bytes.sh
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
# Compare against latest. If you commit changes, replace "latest" directory
|
||||
# with "new" directory after running benchmark.
|
||||
|
||||
export RUSTFLAGS="-C target-cpu=native"
|
||||
|
||||
cargo bench --bench bench_announce_response_to_bytes -- --noplot --baseline latest
|
||||
Loading…
Add table
Add a link
Reference in a new issue