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

[Critical] Code Insiders is HORRIBLY slow (Log and Video attched) #123742

Closed
stagefright5 opened this issue May 13, 2021 · 8 comments
Closed

[Critical] Code Insiders is HORRIBLY slow (Log and Video attched) #123742

stagefright5 opened this issue May 13, 2021 · 8 comments
Assignees
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues windows VS Code on Windows issues

Comments

@stagefright5
Copy link

  • Version: 1.57.0-insider (user setup)
  • Commit: 37a12c9
  • Date: 2021-05-12T14:14:26.024Z
  • Electron: 12.0.4
  • Chrome: 89.0.4389.114
  • Node.js: 14.16.0
  • V8: 8.9.255.24-electron.0
  • OS: Windows_NT x64 10.0.19043

Steps to Reproduce:

  1. Open the above mention version

It takes consistently at least 5 seconds for vscode to react to anything (click, input etc) and sometimes even 10 seconds.

I have attached a video here. I don't how well does it convey the slowness (Log attached at the end)

package.json.-.angular-tour-of-heroes.-.Visual.Studio.Code.-.Insiders.2021-05-13.10-25-31.mp4

Does this issue occur when all extensions are disabled?: Yes

Logs:

@stagefright5 stagefright5 changed the title Code Insiders is HORRIBLY slow (Log and Video attched) [Critical] Code Insiders is HORRIBLY slow (Log and Video attched) May 13, 2021
@stagefright5
Copy link
Author

Here is another one

renderer1.log.-.angular-tour-of-heroes.-.Visual.Studio.Code.-.Insiders.2021-05-13.10-41-00.mp4

@deepak1556
Copy link
Collaborator

Can you check if the issue continues to happen with latest insiders based on commit: a9c5e37

If it does, please attach the performance profile following the below steps

  • Open devtools (From the command palette)
  • Choose Performance tab
  • Hit the reload and record button
  • Perform the steps to slowdown
  • Stop recording
  • Attach the generated trace

@deepak1556 deepak1556 added info-needed Issue requires more information from poster windows VS Code on Windows issues freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues labels May 19, 2021
@stagefright5
Copy link
Author

stagefright5 commented May 19, 2021

This is not happening in a9c5e37

But, the shared logs are of no use is it?

@deepak1556
Copy link
Collaborator

Thanks for confirming, yeah the logs are not required.

Something to verify, when you had the issue with previous insider version,

  1. Were the vscode windows setup on multiple monitors or used via virtual desktop ?
  2. How was the application launched, from the explorer or command line or taskbar ?
  3. Did the slowdown happen as soon as the application was launched or after certain sequence of actions for ex: minimizing the window and then restoring it, etc.

This issue has the same root as #123257, currently we have deployed a workaround but we need a bit more data to understand your scenario. Possibly if you can create a screencast with the older insiders version with step by step action of what led to the slowdown, it would be helpful. Thanks!

@stagefright5
Copy link
Author

  1. Were the vscode windows setup on multiple monitors or used via virtual desktop ?
  • No
  1. How was the application launched, from the explorer or command line or taskbar ?
  • This issue occured when launched either by commandline or by taskbar. I did not try launching from the explorer.
  1. Did the slowdown happen as soon as the application was launched or after certain sequence of actions for ex: minimizing the window and then restoring it, etc.
  • It started happenening as soon as the app was launched

This issue has the same root as #123257, currently we have deployed a workaround but we need a bit more data to understand your scenario. Possibly if you can create a screencast with the older insiders version with step by step action of what led to the slowdown, it would be helpful. Thanks!

Are older versions hosted somewhere the public can access?

@deepak1556
Copy link
Collaborator

deepak1556 commented May 19, 2021

Are older versions hosted somewhere the public can access?

Here is the Insiders build for 37a12c9

@stagefright5
Copy link
Author

Here is the Insiders build for 37a12c9

Sadly, I am not facing this issue in the build you have shared. I did not do anything out of the ordinary when the original issue happened.

@deepak1556
Copy link
Collaborator

Thanks for checking, I will merge this to #123257 . While we continue to investigate the root, will add better logging to track next time you might see it.

@deepak1556 deepak1556 added *duplicate Issue identified as a duplicate of another issue(s) and removed info-needed Issue requires more information from poster *duplicate Issue identified as a duplicate of another issue(s) labels May 20, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests

2 participants