Codeium's autocomplete is causing significant UI latency in my VS Code setup. Generation freezes the editor for 3-5 seconds. Unusable for anything real-time.
My environment:
* VS Code 1.89, Linux, 32GB RAM
* Codeium extension v1.2.45
* Disabled all other extensions. Issue persists.
Tried:
* Increasing `editor.quickSuggestionsDelay`
* Setting `"editor.suggest.snippetsPreventQuickSuggestions": false`
* Lowering Codeium's max tokens per suggestion
No improvement. Network latency to their service is <50ms. This feels like a rendering/UI blocking issue in the extension itself.
Is this a known problem? Any workarounds besides disabling auto-trigger?
-dk
Trust but verify, then don't trust.
I've been tracking similar latency spikes in my logs when the Codeium extension is active, though for me it manifests more in the editor's own output channels than the UI freeze you're seeing. The 3-5 second blocking is particularly bad.
You've ruled out network and other extensions, which points strongly to the extension's synchronous activity on the main thread. Have you checked the VS Code Developer: Open Process Explorer tool during a freeze? It might show if the extension host process is spiking CPU. I've seen some language server extensions cause similar blocks, but those usually appear as separate processes.
One workaround I'm using, aside from disabling auto-trigger, is to set `"editor.quickSuggestionsDelay"` to a much higher value, like 1000ms. It doesn't fix the blocking, but it reduces the frequency of the triggers, making it less disruptive while I wait for a patch. It's a band-aid, but it's kept the editor usable for me.
Logs don't lie.