Skip to content

Commit 7dfe826

Browse files
committed
add throughput benchmark
1 parent 7dea641 commit 7dfe826

File tree

3 files changed

+654
-0
lines changed

3 files changed

+654
-0
lines changed

Cargo.lock

Lines changed: 236 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

twmq/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@ tracing-subscriber = { version = "0.3.19", features = ["env-filter", "fmt"] }
1515

1616
[dev-dependencies]
1717
tokio = { version = "1.45.0", features = ["full"] }
18+
criterion = { version = "0.6", features = ["html_reports", "async_tokio"] }
19+
rand = "0.8"
20+
21+
[[bench]]
22+
name = "throughput"
23+
harness = false

0 commit comments

Comments
 (0)