bug#20029: 'yes' surprisingly slow

2015-03-10 Thread Ole Tange
On Tue, Mar 10, 2015 at 1:31 AM, Giuseppe Scrivano gscriv...@gnu.org wrote: $ time src/yes `echo {1..2000}` | head -c 2000M | md5sum 55c293324aa6ecce14f0bf30da5a4686 - real0m7.994s user0m11.093s sys 0m2.953s versus (with the patch): $ time src/yes `echo {1..2000}` | head -c

bug#20029: 'yes' surprisingly slow

2015-03-10 Thread Pádraig Brady
On 10/03/15 21:18, Ole Tange wrote: On Tue, Mar 10, 2015 at 1:31 AM, Giuseppe Scrivano gscriv...@gnu.org wrote: $ time src/yes `echo {1..2000}` | head -c 2000M | md5sum 55c293324aa6ecce14f0bf30da5a4686 - real0m7.994s user0m11.093s sys 0m2.953s versus (with the patch): $