mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 18:25:30 +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
|
|
@ -18,6 +18,11 @@ name = "bench_request_from_path"
|
|||
path = "benches/bench_request_from_path.rs"
|
||||
harness = false
|
||||
|
||||
[[bench]]
|
||||
name = "bench_announce_response_to_bytes"
|
||||
path = "benches/bench_announce_response_to_bytes.rs"
|
||||
harness = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
aquatic_cli_helpers = { path = "../aquatic_cli_helpers" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue