Same bug here. With grep on any squid log file (~ 350M), there is a huge difference.
I compiled grep 2.20 and 3.3 for stretch using pbuilder and put grep binaries on a server: pbuilder build grep_3.3-1.dsc pbuilder build grep_2.20-4.1.dsc intall deb, scp grep binaries to server and rename it. All binaries are using the same libs. root@cachessl:/var/log/squid# time /var/tmp/grep33 10.21.73.68 access.log | wc -l 1139 real 0m0,681s user 0m0,556s sys 0m0,112s root@cachessl:/var/log/squid# time /var/tmp/grep220 10.21.73.68 access.log | wc -l 1139 real 0m1,920s user 0m1,744s sys 0m0,168s root@cachessl:/var/log/squid# time /var/tmp/grep227 10.21.73.68 access.log | wc -l 1139 real 0m30,639s user 0m30,480s sys 0m0,144s Same result with -a option. -- BOUTELIER Sébastien Tel: 04 94 14 29 47

