aboutsummaryrefslogtreecommitdiffstats
path: root/.cargo
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-01 23:26:11 +0100
committertv <tv@krebsco.de>2026-11-01 23:26:11 +0100
commitea01d49e50303eb74708462badb4fff20a8774ce (patch)
tree270c6652020f8e260df0748e40a4729545c9a250 /.cargo
parent49088cc7b88b426efa3e865fef5153dd1b3ecaf5 (diff)
add document benchmarks
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index c352e78..7544206 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -4,3 +4,6 @@
quick = "test --features mycelium,libp2p,tor,dashboard -- --skip simtest"
# The simulations: whole swarms in one process, in real time.
sim = "test --features mycelium,libp2p,tor,dashboard simtest"
+# The benchmarks: ignored tests named bench_*, in release builds, one at a time, with
+# what they print (`cargo bench` itself takes no aliases).
+benchmark = "test --release --features mycelium,libp2p,tor,dashboard bench_ -- --ignored --nocapture --test-threads=1"