aboutsummaryrefslogtreecommitdiff
path: root/src/tests/aoc-2022-09/benches/main.rs
diff options
context:
space:
mode:
authorAria Shrimpton <me@aria.rip>2024-02-25 13:33:45 +0000
committerAria Shrimpton <me@aria.rip>2024-02-25 13:33:45 +0000
commit2d8a39173097827907609cf5304c28e6eb78e7a2 (patch)
treed7a88a72328de20c9459cd6cc1a7da143ecc7342 /src/tests/aoc-2022-09/benches/main.rs
parenta1dbbc491d493b428054b664656eb10229d24694 (diff)
tune benchmarks to be better spread hopefully
Diffstat (limited to 'src/tests/aoc-2022-09/benches/main.rs')
-rw-r--r--src/tests/aoc-2022-09/benches/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/aoc-2022-09/benches/main.rs b/src/tests/aoc-2022-09/benches/main.rs
index 3b4046c..6eb13e4 100644
--- a/src/tests/aoc-2022-09/benches/main.rs
+++ b/src/tests/aoc-2022-09/benches/main.rs
@@ -4,7 +4,7 @@ use rand::{rngs::StdRng, SeedableRng};
fn run_benches(c: &mut Criterion) {
let mut rng = StdRng::seed_from_u64(42);
- for size in [100, 1000, 2000, 10_000, 50_000].iter() {
+ for size in [100, 1000, 2000].iter() {
c.bench_with_input(BenchmarkId::new("aoc-202209-part1", size), size, |b, &n| {
b.iter_batched_ref(
|| gen_moves(&mut rng, n).collect::<Vec<_>>(),