Skip to content

How to tell which file slows ripgrep down? #2022

Answered by BurntSushi
openaphid asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@openaphid
Comment options

Answer selected by BurntSushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants