2021: day07: bench
This commit is contained in:
parent
e56e70a6a3
commit
f7bbbf5cce
|
@ -6,6 +6,7 @@ use aoc2021::day03;
|
||||||
use aoc2021::day04;
|
use aoc2021::day04;
|
||||||
use aoc2021::day05;
|
use aoc2021::day05;
|
||||||
use aoc2021::day06;
|
use aoc2021::day06;
|
||||||
|
use aoc2021::day07;
|
||||||
|
|
||||||
fn aoc2021_all(c: &mut Criterion) {
|
fn aoc2021_all(c: &mut Criterion) {
|
||||||
c.bench_function("day01", |b| b.iter(|| day01::run().unwrap()));
|
c.bench_function("day01", |b| b.iter(|| day01::run().unwrap()));
|
||||||
|
@ -14,6 +15,7 @@ fn aoc2021_all(c: &mut Criterion) {
|
||||||
c.bench_function("day04", |b| b.iter(|| day04::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("day05", |b| b.iter(|| day05::run().unwrap()));
|
||||||
c.bench_function("day06", |b| b.iter(|| day06::run().unwrap()));
|
c.bench_function("day06", |b| b.iter(|| day06::run().unwrap()));
|
||||||
|
c.bench_function("day07", |b| b.iter(|| day07::run().unwrap()));
|
||||||
}
|
}
|
||||||
|
|
||||||
criterion_group! {
|
criterion_group! {
|
||||||
|
|
Loading…
Reference in a new issue