Skip to content

Commit 8e58a27

Browse files
committed
extra: reduce bench loop max time to 3s.
1 parent cdce33a commit 8e58a27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libextra/test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,8 +1019,8 @@ impl BenchHarness {
10191019
}
10201020

10211021
total_run += loop_run;
1022-
// Longest we ever run for is 10s.
1023-
if total_run > 10_000_000_000 {
1022+
// Longest we ever run for is 3s.
1023+
if total_run > 3_000_000_000 {
10241024
return summ5;
10251025
}
10261026

0 commit comments

Comments
 (0)