fixed iai benchmarks

This commit is contained in:
Anton-4 2021-05-19 14:32:59 +02:00
parent 38f08e33ce
commit 07ad061ac0
4 changed files with 6 additions and 9 deletions

View file

@ -1,7 +1,5 @@
use criterion::{
black_box, measurement::WallTime, BenchmarkGroup
};
use crate::helpers::{example_file, run_cmd, run_roc};
use criterion::{black_box, measurement::WallTime, BenchmarkGroup};
use std::path::Path;
// run without optimization, without input
@ -92,7 +90,6 @@ fn bench_cmd(
&[],
);
}
}
pub fn bench_nqueens(bench_group_opt: Option<&mut BenchmarkGroup<WallTime>>) {
@ -165,4 +162,4 @@ pub fn bench_closure(bench_group_opt: Option<&mut BenchmarkGroup<WallTime>>) {
"",
bench_group_opt,
);
}
}