Commit 395cef5
committed
bench: exclude non-deterministic num-primes benchmarks by default
num-primes uses thread_rng() internally, making its benchmarks
non-deterministic and causing false regressions in CodSpeed CI.
Remove num-primes from default features so it's excluded from CI
benchmarks. All num-primes bench_functions are gated behind
#[cfg(feature = "num-primes")] - use --features num-primes to
include them for local comparison.1 parent 522bad3 commit 395cef5
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
0 commit comments