-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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
VS code freezes when typing and scrolling #97731
Comments
I think I may have the same issue. I was able to capture an instance of the lag in the developer tools profiler. After downgrading to 1.44.2, I have not been able to reproduce the issue. |
I did not recognise the code, but I could see
|
Lot's of laggyness on verion 1.45.0. Didn't notice it before so the issue seems new. Something is definitely blocking the UI thread from drawing in a timely manner. The issue comes and goes, but it surely destroys develop flow. Haven't noticed any unusual cpu usage yet, but this is a 32-core thread-ripper so it takes a lot to have that be a problem. |
@schwab, @subash7038 Sorry, I will not be able to help you because you have not provided actionable information. @bemasher Thanks for the trace. This is useful. It seems like a massive decoration change happens - that is for the GIT state on the explorer, e.g. "M" for modified, "U" for untracked etc. Is this a very large workspace? Or a state with many, many pending changes or much being ignored? |
@jrieken turns out that was the problem, I hadn't been paying attention that a parent directory was a git repository and had added quite a lot of test data (read: a couple hundred individual files). Adding the test data directory to |
Also noticing since the Version: 1.45.1 release everything freezes after saves for half a minute, also on switching back to the app after switching to another app, and occasionally for no discernible reason at all - everything just stops. There was no issue on this project with the previous release. Mac OS X 10.14.6 Update: following the cue on the large volume of pending changes - awcache was not in .gitignore, and was tracking 4000+ changes. Again, this hasn't been an issue in the previous VSCode releases, but adding the .awcache directory to .gitignore has resolved the lag. Thanks! |
To verify:
|
For what it's worth I had a similar experience over the weekend. In my specific case it was when typing. I'd enter up to 4 words before the screen updated. Did this over multiple app and system restarts. I uninstalled (On Mac, so drag to trash), downgraded to April, issue was gone. I then updated, issue came back. Uninstalled one more time, issue gone, removed extensions (icons and VS Intellicode), updated to newest and now it seems to have resolved itself Apologies for not getting a trace, will do so if it comes back! PS: I had no uncommitted files during the above process. |
In the fast few days I am having very poor performance issues .Especialy when scrollling.It almost completely freezes.
The text was updated successfully, but these errors were encountered: