mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
aquatic_ws: add bench for InMessage::from_ws_message, take ws msg by ref
This commit is contained in:
parent
74a538963f
commit
99724c7e5d
11 changed files with 1091 additions and 5 deletions
|
|
@ -8,6 +8,11 @@ license = "Apache-2.0"
|
|||
[lib]
|
||||
name = "aquatic_ws_protocol"
|
||||
|
||||
[[bench]]
|
||||
name = "bench_deserialize_announce_request"
|
||||
path = "benches/bench_deserialize_announce_request.rs"
|
||||
harness = false
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1"
|
||||
hashbrown = { version = "0.8", features = ["serde"] }
|
||||
|
|
@ -16,5 +21,6 @@ serde_json = "1"
|
|||
tungstenite = "0.11"
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.3"
|
||||
quickcheck = "0.9"
|
||||
quickcheck_macros = "0.9"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue