Control ripgrep parallelism explicitly.
Section: Performance patterns
Tune the number of worker threads
bash
bash
rg -j 4 'TODO' .Explanation
ripgrep auto-detects threads well, but manual tuning can help in constrained environments.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Performance patterns