This commit is contained in:
Pedro de Oliveira 2023-05-05 20:41:52 +01:00
parent 8b467093c9
commit 4cda9b2765
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ use day02::*;
pub fn criterion_benchmark(c: &mut Criterion) {
let input = include_str!("../../input/day02.txt");
c.bench_function("day02 read_input", |b| {
c.bench_function("day02 parse_input", |b| {
b.iter(|| parse_input(black_box(input)))
});
let input = parse_input(input);