mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Merge pull request #9167 from sylvestre/du-var
du: disable some benchmarks
This commit is contained in:
@@ -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)])]
|
||||
|
||||
Reference in New Issue
Block a user