aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/aoc_2022_08/benches/main.rs2
-rw-r--r--src/tests/example_mapping/benches/main.rs2
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,