Speed Up Emacs Consult Async Searches: Tune These Three Variables

Why Emacs Consult async searches feel slow and how to speed them up

Consult's async search commands (consult-fd, consult-grep, consult-ripgrep) feel sluggish because of conservative debounce, throttle, and refresh delays. This article explains how these variables work and offers aggressive settings that cut input latency dramatically, at the cost of higher CPU usage and battery drain. It also discusses the trade-offs for laptops and large projects.

Debouncing is an idle timer. It waits for you to stop typing. If you keep hitting keys, the timer keeps resetting, and the search will not run until you stop typing.