Skip to content

Commit c1b7cda

Browse files
sylvestrenaoNao89
authored andcommitted
du: disable some benchmarks
1 parent c953cbf commit c1b7cda

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/uu/du/benches/du_bench.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ fn bench_du_with_args(bencher: Bencher, temp_dir: &TempDir, args: &[&str]) {
1919
});
2020
}
2121

22+
/* too much variance
2223
/// Benchmark default du on balanced tree
2324
#[divan::bench(args = [(5, 4, 10)])]
2425
fn du_balanced_tree(
@@ -29,7 +30,9 @@ fn du_balanced_tree(
2930
fs_tree::create_balanced_tree(temp_dir.path(), depth, dirs_per_level, files_per_dir);
3031
bench_du_with_args(bencher, &temp_dir, &[]);
3132
}
33+
*/
3234

35+
/* too much variance
3336
/// Benchmark du -a (all files) on balanced tree
3437
#[divan::bench(args = [(4, 3, 10)])]
3538
fn du_all_balanced_tree(
@@ -40,6 +43,7 @@ fn du_all_balanced_tree(
4043
fs_tree::create_balanced_tree(temp_dir.path(), depth, dirs_per_level, files_per_dir);
4144
bench_du_with_args(bencher, &temp_dir, &["-a"]);
4245
}
46+
*/
4347

4448
/// Benchmark du -h (human readable) on balanced tree
4549
#[divan::bench(args = [(5, 4, 10)])]

0 commit comments

Comments
 (0)