Adjust the benchmark sample size so all benchmarks finish successfully (#2237)
This works on my machine.
This commit is contained in:
parent
35f097995b
commit
81f2df9f36
|
|
@ -46,7 +46,7 @@ fn block_serialization(c: &mut Criterion) {
|
||||||
|
|
||||||
criterion_group!(
|
criterion_group!(
|
||||||
name = benches;
|
name = benches;
|
||||||
config = Criterion::default().noise_threshold(0.05);
|
config = Criterion::default().noise_threshold(0.05).sample_size(50);
|
||||||
targets = block_serialization
|
targets = block_serialization
|
||||||
);
|
);
|
||||||
criterion_main!(benches);
|
criterion_main!(benches);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue