On 28/04/12 00:24, Jeff Janes wrote:
perl -le 'my $x="x"x1024; print "123456,$x" foreach 1..1e6'| /usr/bin/time cut -d, -f2 |wc -c 71.93user 1.36system 1:13.58elapsed 99%CPU (0avgtext+0avgdata 3328maxresident)k
perl -le 'my $x="x"x1024; print "123456,$x" foreach 1..1e6'| /usr/bin/time ~/coreutils_suse_source/bin/cut -d, -f2 |wc -c 3.81user 0.85system 0:05.08elapsed 91%CPU (0avgtext+0avgdata 3104maxresident)k
perl -le 'my $x="x"x1024; print "123456,$x" foreach 1..1e6'| LANG=C /usr/bin/time ~/coreutils_suse_source/bin/cut -d, -f2 |wc -c 3.79user 0.89system 0:05.08elapsed 92%CPU (0avgtext+0avgdata 2368maxresident)k
perl -le 'my $x="x"x1024; print "123456,$x" foreach 1..1e6'| LANG=C /usr/bin/time cut -d, -f2 |wc -c 3.68user 0.89system 0:05.00elapsed 91%CPU (0avgtext+0avgdata 2432maxresident)k
Cheers,
Jeff
Please file a bug report ;) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org