-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
See #10476 (comment)
coreutils/src/uu/shuf/benches/shuf_bench.rs
Lines 23 to 32 in d2db872
| /// Benchmark shuffling a numeric range with -i | |
| /// Tests the input-range mode which uses a different algorithm | |
| #[divan::bench(args = [1_000_000])] | |
| fn shuf_input_range(bencher: Bencher, range_size: usize) { | |
| let range_arg = format!("1-{range_size}"); | |
| bencher.bench(|| { | |
| black_box(run_util_function(uumain, &["-i", &range_arg])); | |
| }); | |
| } |
Reactions are currently unavailable