-
Notifications
You must be signed in to change notification settings - Fork 16
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
Extension causes high cpu load #162
Comments
Do you have |
Please attach the cpuprofile.txt file from your home directory. I need the profiled data to be able to see what went wrong where. The "author" mentioned in the wiki link you shared refers to the issue author, not extension author. I don't have access to your filesystem. |
Yes, I do! Would turning it off resolve this?
Oops, sorry! I just sort of automatically clicked an "error found" message while looking at the live processes and it auto-generated the issue report. Hoping this is what you need! |
While I couldn't pinpoint anything from the profile you (and @SjoerdHekking on the Discord) shared, I did make some changes and updated very old dependencies. Hopefully should be a better experience, but I'll let you guys be the judge of that. Update to v0.27.0 |
Hey, thank you so much, I'll give it a try! In either case, thanks for all the work you do on this! :) |
I've been experiencing significant issues developing today, it got so bad I took some time to investigate what was going on. Looking at the task manager, I've found VSCode eating 40% CPU on my 8C/16T system and memory usage skyrocketing to more than 3gb. At some point it would start freezing while scrolling up or down in twee files. After disabling all plugins on VSCode and going through them one by one, I've been able to isolate this behavior to the T3LT extension. After reverting to version v0.26.1, the issue is gone. CPU usage has returned to 0-2% and memory to a constant 700mb. I haven't finished investigating this yet to narrow it down further, but I feel the issue is worth a early heads-up. Edit: Issue starts with version v0.27.3. Previous v0.27.x versions do not display this behavior. |
v0.27.5 fixes this for me |
@rinariwrites Could you check too? v0.27.5 should take care of the issue, but if you confirm we can close the issue. |
Testing now on v0.27.5, I no longer have the error caused by high CPU use in the "Running Extensions" view, and CPU use for the extension hovers around 20-40% on my Activity Monitor! I thought it might have been lower on v.27.0, like <10%, but so far I'm not experiencing any issues either way! |
Performance
twee3-language-tools
0.26.1
Darwin arm64 23.3.0
1.93.1
file:///var/folders/gm/b4hv31v15d54msy_vtr0m4440000gp/T/cyrusfirheir.twee3-language-tools-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
The text was updated successfully, but these errors were encountered: