Faster benchmarking for CI

Increase that sample size manually when you're doing performance
work.
This commit is contained in:
Greg Fitzgerald
2018-07-13 13:53:14 -06:00
parent 28d24497a3
commit a3b22d0d33
3 changed files with 15 additions and 3 deletions

View File

@ -16,5 +16,9 @@ fn bench(criterion: &mut Criterion) {
});
}
criterion_group!(benches, bench);
criterion_group!(
name = benches;
config = Criterion::default().sample_size(2);
targets = bench
);
criterion_main!(benches);