Upgrade pathogen
Make pow effectively single-threaded to make debugging easier
Try the_silver_searcher for grep

https://github.com/ggreer/the_silver_searcher