How to tell which file slows ripgrep down? #2022
-
When ripgrep gets stuck, is there a verbose mode to trace which file was the root cause? |
Beta Was this translation helpful? Give feedback.
Answered by
BurntSushi
Oct 15, 2021
Replies: 1 comment 1 reply
-
You can try the Another approach is a binary search of sorts. Keep removing things from your search until it gets faster. When it gets faster, check that what you removed makes ripgrep slow. Then repeat. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
BurntSushi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can try the
--trace
flag.Another approach is a binary search of sorts. Keep removing things from your search until it gets faster. When it gets faster, check that what you removed makes ripgrep slow. Then repeat.