mirror of
https://github.com/uutils/coreutils.git
synced 2025-12-23 08:47:37 +00:00
du: disable some benchmarks
This commit is contained in:
parent
00583166cc
commit
a8e40acdc4
1 changed files with 4 additions and 0 deletions
|
|
@ -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)])]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue