diff options
author | Aria Shrimpton <me@aria.rip> | 2024-03-10 16:12:17 +0000 |
---|---|---|
committer | Aria Shrimpton <me@aria.rip> | 2024-03-10 16:19:12 +0000 |
commit | e42765c63dda78a11d3f34f43204fdebcf106bfb (patch) | |
tree | b87f06290d832e4f199fa59d4ad7707b264a086a /src | |
parent | 42f7e8a65609122d459e15aa5dce7d7abe95d989 (diff) |
some tuning benchmarks
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/aoc_2022_08/benches/main.rs | 2 | ||||
-rw-r--r-- | src/tests/example_mapping/benches/main.rs | 2 |
2 files changed, 2 insertions, 2 deletions
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, |