We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e104fc8 commit 5aa22f1Copy full SHA for 5aa22f1
1 file changed
src/uu/wc/benches/wc_bench.rs
@@ -8,7 +8,7 @@ use uu_wc::uumain;
8
use uucore::benchmark::{create_test_file, run_util_function, text_data};
9
10
/// Benchmark different file sizes for byte counting
11
-#[divan::bench(args = [500])]
+#[divan::bench(args = [1, 500])] //todo: add 10kb to measure splice() overhead
12
fn wc_bytes_synthetic(bencher: Bencher, size_mb: usize) {
13
let temp_dir = tempfile::tempdir().unwrap();
14
let data = text_data::generate_by_size(size_mb, 80);
0 commit comments