diff options
author | Aria Shrimpton <me@aria.rip> | 2024-03-07 20:52:12 +0000 |
---|---|---|
committer | Aria Shrimpton <me@aria.rip> | 2024-03-07 20:52:12 +0000 |
commit | 1031c5c24242c0d32b0701cbf94ad24c8140930a (patch) | |
tree | 6341337b48b4daa20cba6607c6f6fb3c9b3b3e0c /src/tests | |
parent | 0abb0671d424b328afa991ef2240ba8c3e7b2dc7 (diff) |
fix batch size for aoc_2021_09 to prevent more issues
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/aoc_2021_09/benches/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/aoc_2021_09/benches/main.rs b/src/tests/aoc_2021_09/benches/main.rs index cc9b460..90d22f1 100644 --- a/src/tests/aoc_2021_09/benches/main.rs +++ b/src/tests/aoc_2021_09/benches/main.rs @@ -12,7 +12,7 @@ fn run_benches(c: &mut Criterion) { b.iter_batched_ref( || HeightMap::gen(&mut rng, n), |map| map.part1(), - BatchSize::SmallInput, + BatchSize::NumIterations(1), ) }, ); @@ -24,7 +24,7 @@ fn run_benches(c: &mut Criterion) { b.iter_batched_ref( || HeightMap::gen(&mut rng, n), |map| map.part2(), - BatchSize::SmallInput, + BatchSize::NumIterations(1), ) }, ); |