From 13420d518a2b330318b47494f2558fb72f039fa8 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 4 Dec 2020 10:58:35 +0100 Subject: [PATCH] 2020: day04: bench --- aoc2020/benches/bench.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aoc2020/benches/bench.rs b/aoc2020/benches/bench.rs index 450ed5d..f2ae1e3 100644 --- a/aoc2020/benches/bench.rs +++ b/aoc2020/benches/bench.rs @@ -3,11 +3,13 @@ use criterion::{criterion_group, criterion_main, Criterion}; use aoc2020::day01; use aoc2020::day02; use aoc2020::day03; +use aoc2020::day04; fn aoc2020_all(c: &mut Criterion) { c.bench_function("day01", |b| b.iter(|| day01::run().unwrap())); c.bench_function("day02", |b| b.iter(|| day02::run().unwrap())); c.bench_function("day03", |b| b.iter(|| day03::run().unwrap())); + c.bench_function("day04", |b| b.iter(|| day04::run().unwrap())); } criterion_group! {