Exafunction / CodeiumVisualStudio

Visual Studio extension for Codeium
https://codeium.com
MIT License
108 stars 25 forks source link

High CPU usage by language_server on Linux #47

Open ipg0 opened 5 months ago

ipg0 commented 5 months ago

A process language_server from the Codeium VS Code extension is reported to be using up over 200% of CPU time (i7-11390H) on Linux (6.5.0-14-generic), even when just scrolling through the code.

Does not happen always, prevalently happens in one moderately sized Strapi + React + TypeScript project (which is private, and the codebase has been indexed by Codeium).

Turning off the "Toggle autocomplete for language" didn't help.

KerryRitter commented 2 months ago

I've had to disable the extension because whenever Codieum is running, my CPU usage goes through the roof. It was fine for some time, but the last couple weeks I've had to restart until finally I just disabled the extension.

Also on Linux. My project is ~600K LoC excluding node_modules.

fortenforge commented 2 months ago

Just to clarify—are you both using the Codeium VSCode extension or the Visual Studio extension?

You can try disabling search to see if that helps:

image
ruslan-mogilevskiy commented 2 months ago

Same behaviour on Windows with VS 2022 17.8.7. Codeium spans the language_server_windows64.exe which takes up to 50% of CPU all the time which almost freezes the host when working in multiple VS instances. Comparing to the GH Copilot it has very unstable (beta-like) state when generating the code as well. Uninstalled.

KerryRitter commented 2 months ago

Just to clarify—are you both using the Codeium VSCode extension or the Visual Studio extension?

You can try disabling search to see if that helps:

image

I will give this a shot when I have some availability. I am in VSCode.

Same behaviour on Windows with VS 2022 17.8.7. Codeium spans the language_server_windows64.exe which takes up to 50% of CPU all the time which almost freezes the host when working in multiple VS instances. Comparing to the GH Copilot it has very unstable (beta-like) state when generating the code as well. Uninstalled.

Let's all remember that Codeium is free for individuals and an affordable offering competing with one of the largest companies in the world. It doesn't cost us developers anything to be kind when we bring up issues and expectations.