2021: day13: bench
This commit is contained in:
parent
b8e2bbf2f3
commit
d0f3b941ce
|
@ -11,6 +11,7 @@ use aoc2021::day08;
|
||||||
use aoc2021::day09;
|
use aoc2021::day09;
|
||||||
use aoc2021::day10;
|
use aoc2021::day10;
|
||||||
use aoc2021::day11;
|
use aoc2021::day11;
|
||||||
|
use aoc2021::day13;
|
||||||
|
|
||||||
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()));
|
||||||
|
@ -24,6 +25,7 @@ fn aoc2021_all(c: &mut Criterion) {
|
||||||
c.bench_function("day09", |b| b.iter(|| day09::run().unwrap()));
|
c.bench_function("day09", |b| b.iter(|| day09::run().unwrap()));
|
||||||
c.bench_function("day10", |b| b.iter(|| day10::run().unwrap()));
|
c.bench_function("day10", |b| b.iter(|| day10::run().unwrap()));
|
||||||
c.bench_function("day11", |b| b.iter(|| day11::run().unwrap()));
|
c.bench_function("day11", |b| b.iter(|| day11::run().unwrap()));
|
||||||
|
c.bench_function("day13", |b| b.iter(|| day13::run().unwrap()));
|
||||||
}
|
}
|
||||||
|
|
||||||
criterion_group! {
|
criterion_group! {
|
||||||
|
|
Loading…
Reference in a new issue