On 21/02/2026 08:24, Collin Funk wrote:
Here is the throughput before this patch:

     # write_permuted_numbers
     $ ./src/shuf-prev -i 0-100000000 | pv -r > /dev/null
     [ 153MiB/s]

     # write_random_numbers
     $ timeout 10 ./src/shuf-prev -i 0-100000 -r | pv -r > /dev/null
     [78.6MiB/s]

Here is the throughput after this patch:

     # write_permuted_numbers
     $ timeout 10 ./src/shuf -i 0-100000000 | pv -r > /dev/null
     [ 308MiB/s]

     # write_random_numbers
     $ timeout 10 ./src/shuf -i 0-100000 -r | pv -r > /dev/null
     [ 196MiB/s]

Oh wow. Nice.
The 2x improvement definitely warrants a mention in NEWS.

thanks!
Padraig

Reply via email to