Benchmark day 11

This commit is contained in:
2019-08-04 18:54:11 -04:00
parent 6190b9742c
commit 55c949f796
3 changed files with 479 additions and 0 deletions

14
benches/day_11.rs Normal file
View File

@@ -0,0 +1,14 @@
#[macro_use]
extern crate criterion;
use criterion::Criterion;
#[path = "../src/day11.rs"]
mod day11;
fn criterion_benchmark(c: &mut Criterion) {
c.bench_function("day 11", |b| b.iter(|| day11::solve_part2()));
}
criterion_group!(benches, criterion_benchmark);
criterion_main!(benches);