Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0.0 maxes out my CPU #645

Open
Veradictus opened this issue Apr 13, 2024 · 1 comment
Open

v2.0.0 maxes out my CPU #645

Veradictus opened this issue Apr 13, 2024 · 1 comment
Labels

Comments

@Veradictus
Copy link

Godot version

4.2.2-rc2

VS Code version

1.88.1

Godot Tools VS Code extension version

2.0.0

System information

Windows 11

Issue description

Hard to explain why exactly, but after coding for a while, the extension causes 100% CPU usage on my desktop PC. Has happened on other devices as well. As soon as I disable the extension the CPU usage drops to normal amounts.

The plugin must be connected to Godot for this to occur. If the plugin disconnects (after Godot has closed), the CPU usage will persist until all 10 connection trials have completed. Reconnecting afterwards does not yield anymore whacky CPU usage.

Again, I wish I could give more info on this, but I am still trying to diagnose it.

image

Steps to reproduce

I wish I could give more info, all I did was code for an hour or so, and eventually my computer became extremely slow and I began trying to find the issue.

@Veradictus Veradictus added the bug label Apr 13, 2024
@DaelonSuzuka
Copy link
Collaborator

Oh that's weird. Thanks for the report.

I've definitely seen some weird behavior related to the LSP connection, and rewriting that entire module has been on my list for a while.

Maybe you could try cloning the repo and launching the extension in development/debug mode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants