diff options
author | Aria Shrimpton <me@aria.rip> | 2024-03-04 13:13:12 +0000 |
---|---|---|
committer | Aria Shrimpton <me@aria.rip> | 2024-03-04 13:13:12 +0000 |
commit | 9d09f8605abb54acf9ed91d026f0c4888acb92e3 (patch) | |
tree | 89b76f51f3ea923e0ac00e843cfd09cfc647ee3f /src/tests/aoc_2022_08/benches | |
parent | 934a6f67af4de1abfbd1c373ad5de0556e687f21 (diff) |
tune to avoid benchmark timeouts when profiling
Diffstat (limited to 'src/tests/aoc_2022_08/benches')
-rw-r--r-- | src/tests/aoc_2022_08/benches/main.rs | 4 |
1 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 462480e..2dd201f 100644 --- a/src/tests/aoc_2022_08/benches/main.rs +++ b/src/tests/aoc_2022_08/benches/main.rs @@ -3,8 +3,8 @@ use criterion::{criterion_group, criterion_main, BatchSize, BenchmarkId, Criteri use rand::{rngs::StdRng, SeedableRng}; fn run_benches(c: &mut Criterion) { - let mut rng = StdRng::seed_from_u64(42); - for size in [1000, 2000].iter() { + let mut rng = StdRng::seed_from_u64(1337); + for size in [1000, 1100].iter() { c.bench_with_input( BenchmarkId::new("aoc_2022_08-part1", size), size, |