chore(ci): reduce pbs benchmark execution duration

When using a criterion sample size of 5000, the benchmark duration
for PBS using shortint can be very long (3620s for
MESSAGE_4_CARRY_4). Switching to a sample size of 2000 would cut
down all of the benchmarks duration by a factor of at least 2.
This commit is contained in:
David Testé
2023-02-24 14:52:54 +01:00
committed by David Testé
parent b2407d530e
commit a47d8e3ee1

View File

@@ -30,7 +30,7 @@ const BOOLEAN_BENCH_PARAMS: [(&str, BooleanParameters); 2] = [
criterion_group!(
name = pbs_group;
config = Criterion::default().sample_size(5000);
config = Criterion::default().sample_size(2000);
targets = mem_optimized_pbs::<u64>, mem_optimized_pbs::<u32>
);