GNU grep is 10x faster than Mac grep
That's likely all you need to do to install and make default GNU grep, which on my machine is a ~10x speedup over the grep that ships with Mac OS.Of course in this particular case I could use git grep, which doesn't use the system's grep. It's about the same speed as GNU grep:/usr/bin/grep -V says that it's FreeBSD grep version 2.5.1. I don't know if the grep FreeBSD actually ships is similarly slow.
What the influencers are saying
Wow, the FreeBSD implementation of grep that ships in Mac OS X is apparently 10 times slower than GNU grep: http://t.co/RjZd1t9H
GNU grep is 10x faster than Mac grep http://t.co/pFb3XSOf
git grep / gnu grep are "10x" faster than the OSX builtin http://t.co/SLDILlYR