Disable variance-heavy benchmark tests

Comment out benchmarks due to high variance
This commit is contained in:
Sylvestre Ledru 2025-11-09 09:43:29 +01:00 committed by GitHub
parent 9b9a913d68
commit ec52cf9ac9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,6 +20,7 @@ fn factor_multiple_u64s(bencher: Bencher, start_num: u64) {
});
}
/* Too much variance
/// Benchmark multiple u128 digits
#[divan::bench(args = [(18446744073709551616)])]
fn factor_multiple_u128s(bencher: Bencher, start_num: u128) {
@ -34,7 +35,9 @@ fn factor_multiple_u128s(bencher: Bencher, start_num: u128) {
}
});
}
*/
/* Too much variance
/// Benchmark multiple > u128::MAX digits
#[divan::bench]
fn factor_multiple_big_uint(bencher: Bencher) {
@ -50,6 +53,7 @@ fn factor_multiple_big_uint(bencher: Bencher) {
}
});
}
*/
fn main() {
divan::main();