Merge pull request #9167 from sylvestre/du-var

du: disable some benchmarks
This commit is contained in:
Daniel Hofstetter
2025-11-08 07:33:53 +01:00
committed by GitHub
+4
View File
@@ -19,6 +19,7 @@ fn bench_du_with_args(bencher: Bencher, temp_dir: &TempDir, args: &[&str]) {
});
}
/* too much variance
/// Benchmark default du on balanced tree
#[divan::bench(args = [(5, 4, 10)])]
fn du_balanced_tree(
@@ -29,7 +30,9 @@ fn du_balanced_tree(
fs_tree::create_balanced_tree(temp_dir.path(), depth, dirs_per_level, files_per_dir);
bench_du_with_args(bencher, &temp_dir, &[]);
}
*/
/* too much variance
/// Benchmark du -a (all files) on balanced tree
#[divan::bench(args = [(4, 3, 10)])]
fn du_all_balanced_tree(
@@ -40,6 +43,7 @@ fn du_all_balanced_tree(
fs_tree::create_balanced_tree(temp_dir.path(), depth, dirs_per_level, files_per_dir);
bench_du_with_args(bencher, &temp_dir, &["-a"]);
}
*/
/// Benchmark du -h (human readable) on balanced tree
#[divan::bench(args = [(5, 4, 10)])]