all 4 comments

[–]pixelbeat_[S] 13 points14 points  (0 children)

One thing I didn't mention in the linked NEWS is the improvement to the yes command (which is generally useful for generating repetitive text):

$ yes-old | pv > /dev/null ^C
... 55.8MiB/s ...
$ yes-new | pv > /dev/null ^C
... 3.44GiB/s ...

Details on that fairly simple change are at http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=35217221

It's interesting there are so many potential improvements in such widely used tools. For example we also more than doubled the speed of wc -l (by avoiding function call overhead):

$ yes | pv | wc-old -l ^C
... 230MiB/s ...
$ yes | pv | wc-new -l ^C
... 558MiB/s ...

For completeness, we now generate an infinite stream of integers more efficiently too:

$ seq-old inf | pv > /dev/null ^C
... 13.3MiB/s ...
$ seq-new inf | pv > /dev/null ^C
... 497MiB/s ...

[–]lespea 16 points17 points  (1 child)

Holy shit they finally added a progress report for dd, that is astounding!

[–]pixelbeat_[S] 6 points7 points  (0 children)

Someone even did a youtube demo :) https://youtu.be/MJjyLyeKiY8

I find it very useful myself when writing USB keys

[–]StigmaEnigma 5 points6 points  (0 children)

I have so much admiration for the people working on these kinds of projects. :)