From 862d3d4ef046b6976d9eca174e945c5e9be27e25 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 14 Dec 2020 14:58:19 +0100 Subject: [PATCH] 2020: day14: add bench --- aoc2020/benches/bench.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aoc2020/benches/bench.rs b/aoc2020/benches/bench.rs index 2fe2639..a5447c9 100644 --- a/aoc2020/benches/bench.rs +++ b/aoc2020/benches/bench.rs @@ -13,6 +13,7 @@ use aoc2020::day10; use aoc2020::day11; use aoc2020::day12; use aoc2020::day13; +use aoc2020::day14; fn aoc2020_all(c: &mut Criterion) { c.bench_function("day01", |b| b.iter(|| day01::run().unwrap())); @@ -28,6 +29,7 @@ fn aoc2020_all(c: &mut Criterion) { c.bench_function("day11", |b| b.iter(|| day11::run().unwrap())); c.bench_function("day12", |b| b.iter(|| day12::run().unwrap())); c.bench_function("day13", |b| b.iter(|| day13::run().unwrap())); + c.bench_function("day14", |b| b.iter(|| day14::run().unwrap())); } criterion_group! {