Adjust the benchmark sample size so all benchmarks finish successfully (#2237)

This works on my machine.
This commit is contained in:
teor 2021-06-03 09:35:42 +10:00 committed by GitHub
parent 35f097995b
commit 81f2df9f36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ fn block_serialization(c: &mut Criterion) {
criterion_group!(
name = benches;
config = Criterion::default().noise_threshold(0.05);
config = Criterion::default().noise_threshold(0.05).sample_size(50);
targets = block_serialization
);
criterion_main!(benches);