From 21f11eba10d34fb9ab1cbeabb70cc86328185163 Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 1 Nov 2026 23:26:11 +0100 Subject: add document benchmarks --- .cargo/config.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.cargo') 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" -- cgit v1.3.1