bench: add Criterion TX throughput benchmark

This commit is contained in:
fanyang
2026-06-30 19:47:39 +08:00
parent 13412895c5
commit 9473990ca9
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"