-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
VSCode is very slow on my system #12087
Comments
@mghhgm can you share more details about 1. and create a separate issue for 2. please |
A number of days has past without answer on the questions asked. I am thereby going to close this issue to clean up our backlog of issues. Once you can answer on the questions, the issue can be reopened again. Thanks for understanding this process! |
Hi dear Benjamin!
I compare vscode by notepad++. I programming by notepad++ for 6 years. now I use vscode for best user interface and nice themes and some features. But I like the load speed of vscode, such as notepad++. |
I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line, execute: |
I instead of disable extensions, delete them and select default color theme but now after 12 sec vscode is ready. Please check this.
|
@mghhgm can you open Code window and select "Reload Window" from the command palette (press F1) and see how fast the window is loading then? |
@bpasero after "Reload Window", after 9~10 sec vscode is ready. (extensions are disable) |
Ok good to hear because this makes sense to be profiled and find out where most time is spend. Can you follow below steps and after starting profiling to the reload action and when everything is loaded stop the profiling? To create a CPU profile using developer tools in VS Code:
|
I do this: Thank you |
@mghhgm thanks so much for the report, we have an idea what it could be. @joaomoreno fyi |
Any way to tell if #12503 is related? |
@chrmarti telling users to run a profile helps: To create a CPU profile using developer tools in VS Code:
|
Not a regression, impact low-ish, risky to change in endgame pushing to october |
@miladghiravani The entire VS Code interface is HTML. We know what the cause for your issue is and will fix it next month. |
Hi, |
Nothing really changed in the code path specific to the problem your CPU profile indicated. |
@miladghiravani Can you take a screenshot of a recent CPU profile? Is there anything special about your system? Is it a VM? Is it an enterprise managed machine? |
@joaomoreno CPU profile have very lines (more than 80 fullscreen images) but I select all and copy them. |
Seems to be much faster now. Do you still experience the 7 seconds of lag as previously mentioned? I'd like us to try something. Make sure you have Node 6.5 for this. Create a 'use strict'
const https = require('https');
const startTime = new Date().getTime();
https.get('https://marketplace.visualstudio.com', res => {
console.log(res.statusCode);
console.log(new Date().getTime() - startTime);
}); Then, from the command line, run it with the
What was the output or running that? This command will also generate a
And send me the contents of Here's mine, as a reference point: profile.txt |
@joaomoreno I told "in version 1.6.1 , vs code is ready after 7 sec. (~ 46% better)" And profile: profile.txt |
You somehow missed the I will run the same on another Windows machine so we can compare. |
And here is my profile: |
The profiles don't tell us much except that my script runs in 68 ticks while yours takes 1459 ticks. Both show that most of the time is spent inside Are you inside a corporate network? |
@joaomoreno New profile: profile.txt is correct? |
@miladghiravani can you try our latest insider build (http://code.visualstudio.com/Download#insiders), start it and then from the command palette run "Startup performance" and send the output from the console? |
Closing as duplicate of #16065 |
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: