diff options
| author | tv <tv@krebsco.de> | 2026-11-01 23:26:11 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-01 23:26:11 +0100 |
| commit | 21f11eba10d34fb9ab1cbeabb70cc86328185163 (patch) | |
| tree | d272d9c4200de98158f7e939a4783b64afe19127 /.cargo | |
| parent | a73676c722fa462d373729af34938baeefa5c802 (diff) | |
add document benchmarks
Diffstat (limited to '.cargo')
| -rw-r--r-- | .cargo/config.toml | 3 |
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" |
