blink.cmp icon indicating copy to clipboard operation
blink.cmp copied to clipboard

Support regex highlighting on documentation/signature help

Open SourishBiswas23 opened this issue 3 months ago • 3 comments

Feature Description

Currently, blink.nvim updates on every keystroke .While this provides a smooth experience, it leads to high CPU usage on my system. The CPU usage reaches 25-30% during typing.

In nvim-cmp, i added a debounce time of 300ms for my typing speed of 65 wmp and observed that the cpu usage went down to 10-12% while the completion was fast enough.

Proposed Feature:

Add a configurable debounce time for updates. Default: 0ms (retain current behavior for users who prioritize immediate updates). Configurable Option: Allow users to set a custom debounce time, such as .

Benefits:

Significantly lower CPU usage, particularly on resource-constrained systems.
Provides flexibility for users to balance responsiveness with system performance.

SourishBiswas23 avatar Nov 15 '24 11:11 SourishBiswas23