Skip to content

shuf: Add --random-seed, make --random-source GNU-compatible, report write failures, optimize#7585

Merged
sylvestre merged 8 commits into
uutils:mainfrom
blyxxyz:clean-shuf-2
Jan 25, 2026
Merged

shuf: Add --random-seed, make --random-source GNU-compatible, report write failures, optimize#7585
sylvestre merged 8 commits into
uutils:mainfrom
blyxxyz:clean-shuf-2

shuf: correctness: Use Fisher-Yates for nonrepeating integers

b81a018
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Jan 25, 2026 in 0s

Performance Gate Passed

⚡ 1 improved benchmark
✅ 141 untouched benchmarks
⏩ 180 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation shuf_input_range[1000000] 163.3 ms 127.6 ms +27.98%

Comparing blyxxyz:clean-shuf-2 (b81a018) with main (938039e)

Open in CodSpeed

Footnotes

  1. 180 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.