Skip to content

Commit

Permalink
unbench p2
Browse files Browse the repository at this point in the history
  • Loading branch information
alion02 committed Dec 17, 2024
1 parent 3f275fe commit 11e94ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ pub fn day17(c: &mut Criterion) {
let s = s.as_str();

c.bench_function("day17 part1", |b| b.iter(|| part1(black_box(s))));
c.bench_function("day17 part2", |b| b.iter(|| part2(black_box(s))));
// c.bench_function("day17 part2", |b| b.iter(|| part2(black_box(s))));

assert_eq!(part1(s).to_string(), read_to_string("./outputs/17p1.txt").unwrap());
assert_eq!(part2(s).to_string(), read_to_string("./outputs/17p2.txt").unwrap());
// assert_eq!(part2(s).to_string(), read_to_string("./outputs/17p2.txt").unwrap());
}

criterion_group!(benches, day17);
Expand Down

0 comments on commit 11e94ca

Please sign in to comment.