On 22/02/2026 04:34, Collin Funk wrote:
Collin Funk <[email protected]> writes:I said "two times faster", since that seems to be accurate in the majority of cases. However, you can see larger performance improvement than that with smaller numbers, since a larger proportion of the execution time will be spent trying to lock standard output versus converting/printing: $ timeout 60 ./src/shuf-prev -i 0-1 -r | pv -r > /dev/null [29.8MiB/s] $ timeout 60 ./src/shuf -i 0-1 -r | pv -r > /dev/null [ 110MiB/s]Also, I noticed this invocation is missing from tests/misc/write-errors.sh despite running forever when writes succeed. I pushed the attach patch adding the test case. I don't think any other 'shuf' invocations can be added since most systems will run out of memory before having to write enough for a test case.
Oh nice one. I expect other commands might be added to that list occasionally, as I didn't do an exhaustive review when creating the list. thanks, Padraig
