diff options
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rw-r--r-- | src/tests/aoc-2022-08/benches/main.rs | 2 | ||||
-rw-r--r-- | src/tests/aoc-2022-09/benches/main.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 95d815e..b724527 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ variables: run-tests: when: manual image: alpine - timeout: 3 hours + timeout: 6 hours before_script: - apk update && apk add openssh-client - eval $(ssh-agent -s) diff --git a/src/tests/aoc-2022-08/benches/main.rs b/src/tests/aoc-2022-08/benches/main.rs index 438f926..1949113 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(42); - for size in [100, 500, 1000, 2000].iter() { + for size in [1000, 2000].iter() { c.bench_with_input(BenchmarkId::new("aoc-202208-part1", size), size, |b, &n| { b.iter_batched_ref( || HeightMap::gen(&mut rng, n), diff --git a/src/tests/aoc-2022-09/benches/main.rs b/src/tests/aoc-2022-09/benches/main.rs index 3b4046c..6eb13e4 100644 --- a/src/tests/aoc-2022-09/benches/main.rs +++ b/src/tests/aoc-2022-09/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(42); - for size in [100, 1000, 2000, 10_000, 50_000].iter() { + for size in [100, 1000, 2000].iter() { c.bench_with_input(BenchmarkId::new("aoc-202209-part1", size), size, |b, &n| { b.iter_batched_ref( || gen_moves(&mut rng, n).collect::<Vec<_>>(), |