2020: day14: add bench

This commit is contained in:
Antoine Martin 2020-12-14 14:58:19 +01:00
parent 18ddbd1310
commit 862d3d4ef0

View file

@ -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! {