Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 03cef9b

Browse files
authored
Merge pull request #9201 from uutils/sylvestre-patch-3
Disable variance-heavy benchmark tests
2 parents 9b9a913 + ec52cf9 commit 03cef9b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/uu/factor/benches/factor_bench.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ fn factor_multiple_u64s(bencher: Bencher, start_num: u64) {
2020
});
2121
}
2222

23+
/* Too much variance
2324
/// Benchmark multiple u128 digits
2425
#[divan::bench(args = [(18446744073709551616)])]
2526
fn factor_multiple_u128s(bencher: Bencher, start_num: u128) {
@@ -34,7 +35,9 @@ fn factor_multiple_u128s(bencher: Bencher, start_num: u128) {
3435
}
3536
});
3637
}
38+
*/
3739

40+
/* Too much variance
3841
/// Benchmark multiple > u128::MAX digits
3942
#[divan::bench]
4043
fn factor_multiple_big_uint(bencher: Bencher) {
@@ -50,6 +53,7 @@ fn factor_multiple_big_uint(bencher: Bencher) {
5053
}
5154
});
5255
}
56+
*/
5357

5458
fn main() {
5559
divan::main();

0 commit comments

Comments
 (0)