https://bugzilla.novell.com/show_bug.cgi?id=308698#c4
Bernd Strieder
time nm *.o | LANG=C time grep -v " W " > link.nm 0.12user 0.13system 0:02.16elapsed 12%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+189minor)pagefaults 0swaps
real 0m2.179s user 0m1.840s sys 0m0.564s openSuSE 10.3 RC1 with utf8
time nm *.o | time grep -v " W " > link.nm 335.10user 0.08system 5:36.78elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (0major+252minor)pagefaults 0swaps
real 5m36.819s user 5m36.817s sys 0m0.528s For comparision SuSE 9.0 with the same hardware:
time nm *.o | LANG=C time grep -v " W " > link.nm 0.04user 0.12system 0:08.58elapsed 1%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (134major+22minor)pagefaults 0swaps
real 0m8.611s user 0m8.240s sys 0m0.530s Looking at the inner time output we are talking here about hundredths of seconds vs. hundreds of seconds, a factor of over 1000 at the given input size. grep is used by so many scripts within about every distro, that this problem could become a show-stopper. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.