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
commit21f11eba10d34fb9ab1cbeabb70cc86328185163 (patch)
treed272d9c4200de98158f7e939a4783b64afe19127 /.cargo
parenta73676c722fa462d373729af34938baeefa5c802 (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"