Ripgrep Performance Update
- Peter
- Jun 3, 2024
- 1 min read
I have tracked down at least part of the massive ripgrep performance disparity between Linux and MacOS. It turns out that my personal ripgrep config file which included (--hidden) was causing much longer execution times in MacOS. I have updated my benchmark suite to include ripgrep's `--no-config` option by default and the results now look like this:

As you can, my personal config file was slowing ripgrep by almost 65% on MacOS. I should be able to disable or tweak my personal config to enjoy that speed boost all day on MacOS, but I'm still amazed that linux is still a full 8x faster on the 5700X CPU I installed last week.



Comments