Reduce the warm up and measurement time for short-benchmarks

The icount benchmarks are what we will be relying on in CI more than the
existing benchmarks. There isn't much reason to keep these around, but
there isn't much point in dropping them either. So, just reduce the
runtime.
This commit is contained in:
Trevor Gross 2025-01-16 07:31:07 +00:00
parent cdb1e680e0
commit 5139ba6f46

View file

@ -151,8 +151,8 @@ pub fn musl_random() {
// about the same time as other tests.
if cfg!(feature = "short-benchmarks") {
criterion = criterion
.warm_up_time(Duration::from_millis(500))
.measurement_time(Duration::from_millis(1000));
.warm_up_time(Duration::from_millis(200))
.measurement_time(Duration::from_millis(600));
}
criterion = criterion.configure_from_args();