mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 08:49:59 +00:00
Compare commits
2 Commits
942a2e7bde
...
9c31d44f8a
Author | SHA1 | Date | |
---|---|---|---|
![]() |
9c31d44f8a | ||
![]() |
bb34991a5f |
@ -17,7 +17,7 @@ pub fn for_short_runs() -> Criterion {
|
||||
// limits the number of statistical data points.
|
||||
.sample_size(50)
|
||||
// measurement time per sample
|
||||
.measurement_time(Duration::from_millis(250))
|
||||
.measurement_time(Duration::from_millis(2000))
|
||||
// reduce warm-up time as well for faster overall run
|
||||
.warm_up_time(Duration::from_millis(50))
|
||||
// You could also make it much shorter if needed, e.g., 50ms measurement, 100ms warm-up
|
||||
|
Loading…
x
Reference in New Issue
Block a user