Skip to content

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
alion02 committed Dec 25, 2024
1 parent 00ecf1f commit 70fc291
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ pub fn day24(c: &mut Criterion) {
|| part1(black_box(s)),
)
});
// c.bench_function("day24 part2", |b| {
// b.iter(
// #[inline(never)]
// || part2(black_box(s)),
// )
// });
c.bench_function("day24 part2", |b| {
b.iter(
#[inline(never)]
|| part2(black_box(s)),
)
});

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

criterion_group!(benches, day24);
Expand Down

0 comments on commit 70fc291

Please sign in to comment.