extra: reduce bench loop max time to 3s.
This commit is contained in:
parent
cdce33a421
commit
8e58a272cc
@ -1019,8 +1019,8 @@ pub fn auto_bench(&mut self, f: &fn(&mut BenchHarness)) -> stats::Summary {
|
||||
}
|
||||
|
||||
total_run += loop_run;
|
||||
// Longest we ever run for is 10s.
|
||||
if total_run > 10_000_000_000 {
|
||||
// Longest we ever run for is 3s.
|
||||
if total_run > 3_000_000_000 {
|
||||
return summ5;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user