From e42765c63dda78a11d3f34f43204fdebcf106bfb Mon Sep 17 00:00:00 2001 From: Aria Shrimpton Date: Sun, 10 Mar 2024 16:12:17 +0000 Subject: some tuning benchmarks --- src/tests/aoc_2022_08/benches/main.rs | 2 +- src/tests/example_mapping/benches/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests') diff --git a/src/tests/aoc_2022_08/benches/main.rs b/src/tests/aoc_2022_08/benches/main.rs index 2dd201f..31553d5 100644 --- a/src/tests/aoc_2022_08/benches/main.rs +++ b/src/tests/aoc_2022_08/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(1337); - for size in [1000, 1100].iter() { + for size in [100, 200].iter() { c.bench_with_input( BenchmarkId::new("aoc_2022_08-part1", size), size, diff --git a/src/tests/example_mapping/benches/main.rs b/src/tests/example_mapping/benches/main.rs index bbca9f0..04d43fb 100644 --- a/src/tests/example_mapping/benches/main.rs +++ b/src/tests/example_mapping/benches/main.rs @@ -1,7 +1,7 @@ use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion}; fn run_benches(c: &mut Criterion) { - for size in [10_000, 100_000, 500_000].iter() { + for size in [10_000, 30_000, 60_000].iter() { c.bench_with_input( BenchmarkId::new("example_mapping-insert_get", size), size, -- cgit v1.2.3