diff options
Diffstat (limited to 'src/tests/aoc-2022-14/benches')
-rw-r--r-- | src/tests/aoc-2022-14/benches/main.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/aoc-2022-14/benches/main.rs b/src/tests/aoc-2022-14/benches/main.rs index 5ac0f39..8ca2664 100644 --- a/src/tests/aoc-2022-14/benches/main.rs +++ b/src/tests/aoc-2022-14/benches/main.rs @@ -4,23 +4,23 @@ use rand::{rngs::StdRng, SeedableRng}; fn run_benches(c: &mut Criterion) { c.bench_with_input( - BenchmarkId::new("part1", "small"), + BenchmarkId::new("aoc-202214-part1", "small"), &SMALL_INPUT, |b, &inp| b.iter_batched_ref(|| parse_input(inp), |w| w.part1(), BatchSize::SmallInput), ); c.bench_with_input( - BenchmarkId::new("part1", "large"), + BenchmarkId::new("aoc-202214-part1", "large"), &LARGE_INPUT, |b, &inp| b.iter_batched_ref(|| parse_input(inp), |w| w.part1(), BatchSize::SmallInput), ); c.bench_with_input( - BenchmarkId::new("part2", "small"), + BenchmarkId::new("aoc-202214-part2", "small"), &SMALL_INPUT, |b, &inp| b.iter_batched_ref(|| parse_input(inp), |w| w.part2(), BatchSize::SmallInput), ); c.bench_with_input( - BenchmarkId::new("part2", "large"), + BenchmarkId::new("aoc-202214-part2", "large"), &LARGE_INPUT, |b, &inp| b.iter_batched_ref(|| parse_input(inp), |w| w.part2(), BatchSize::SmallInput), ); |