Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 1b89158

Browse files
committed
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.
1 parent b5699dd commit 1b89158

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libm/crates/libm-test/benches/random.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ pub fn musl_random() {
151151
// about the same time as other tests.
152152
if cfg!(feature = "short-benchmarks") {
153153
criterion = criterion
154-
.warm_up_time(Duration::from_millis(500))
155-
.measurement_time(Duration::from_millis(1000));
154+
.warm_up_time(Duration::from_millis(200))
155+
.measurement_time(Duration::from_millis(600));
156156
}
157157

158158
criterion = criterion.configure_from_args();

0 commit comments

Comments
 (0)