From 7cffb7cdc6315954a8394083129ea3e7d44b0a9c Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 6 Dec 2021 11:25:08 +0100 Subject: [PATCH] 2021: day06: bench --- aoc2021/aoc2021_bench/benches/aoc2021_bench.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aoc2021/aoc2021_bench/benches/aoc2021_bench.rs b/aoc2021/aoc2021_bench/benches/aoc2021_bench.rs index 49066d1..6de70e6 100644 --- a/aoc2021/aoc2021_bench/benches/aoc2021_bench.rs +++ b/aoc2021/aoc2021_bench/benches/aoc2021_bench.rs @@ -5,6 +5,7 @@ use aoc2021::day02; use aoc2021::day03; use aoc2021::day04; use aoc2021::day05; +use aoc2021::day06; fn aoc2021_all(c: &mut Criterion) { c.bench_function("day01", |b| b.iter(|| day01::run().unwrap())); @@ -12,6 +13,7 @@ fn aoc2021_all(c: &mut Criterion) { c.bench_function("day03", |b| b.iter(|| day03::run().unwrap())); c.bench_function("day04", |b| b.iter(|| day04::run().unwrap())); c.bench_function("day05", |b| b.iter(|| day05::run().unwrap())); + c.bench_function("day06", |b| b.iter(|| day06::run().unwrap())); } criterion_group! {