bench: add Criterion TX throughput benchmark (#2397)

This commit is contained in:
fanyang
2026-06-30 22:10:34 +08:00
committed by GitHub
parent 13412895c5
commit 741460e1e4
4 changed files with 727 additions and 0 deletions
+5
View File
@@ -28,6 +28,10 @@ path = "src/easytier-cli.rs"
name = "easytier"
path = "src/lib.rs"
[[bench]]
name = "tx_throughput"
harness = false
[dependencies]
git-version = "0.3.9"
@@ -336,6 +340,7 @@ zip = "4.0.0"
[dev-dependencies]
criterion = "0.5.1"
serial_test = "3.0.0"
rstest = "0.25.0"
futures-util = "0.3.31"