-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
[windows] Slow opening (vscode, file, folder...) #56644
Comments
Please follow this guide to track down what's slow https://github.com/Microsoft/vscode/wiki/Performance-Issues |
This comment has been minimized.
This comment has been minimized.
I've experienced the same issue. Upgraded on two machines - 1) Windows 10 Enterprise 64-bit, 2) Windows 2008 R2 64-bit. Problem appeared when upgrading to 1.26.1 (July?). I've uninstalled and gone back to an earlier version as it's taking about 19 seconds before the main window appears then about another 10-15 seconds before the application loads the files/folders. I tried both User and "All" versions and it appears in both, since I first noticed when upgrading to the User version. |
@AndySteel-kcom thank you for your feedback ! Same here, I tried to switch back to "All" version but it does not change. Both versions are slow. But I also first noticed after upgrading to the User version. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
On the Win 2008 R2 machine I just clicked on the Terminal window and it took almost a minute to activate itself with the command line prompt. It then popped up with a warning - "The standard renderer for integrated terminal appears to be slow on your computer. Would you like to switch to the alternate DOM-based renderer which may improve performance." I chose to revert to DOM-based and it improved the terminal rendering but the remainder of the app very very slow. For example just selected File...Open Folder and chose a folder. It then took 18 seconds of doing nothing before starting to load the folder. It let me continue editing files in the meantime. |
Please follow this guide (https://github.com/Microsoft/vscode/wiki/Performance-Issues#visual-studio-code-starts-up-slowly) and attach the CPU profiles you get when starting with |
What guide sorry ? I thought I had provided the output of the --prof-startup above? |
Ops, forget to paste the link... The |
This comment has been minimized.
This comment has been minimized.
It's that it cannot find a free port... Can you retry after restarting your computer? |
@jrieken nothing changed after the reboot, still the same error. |
Anything on your system that would prevent us from connecting to port |
@jrieken ok, I managed to launch vscode with code -prof--startup but no sign of profile files. Where should they be located ? |
You can find attached a video showing how slow the startup is and that I do not have any files generated after a FYI, before the last update I never had any problem with vscode. Video: |
In your home directory. The --prof-startup command doesn't seem to work you, you should get into a different flow, being prompted from the editor... Let's take that to another issue. Wrt the perf problem. Have you tried insiders vs stable? Can you start, do |
This comment has been minimized.
This comment has been minimized.
Thanks - great. It takes shockingly ~20seconds to create the renderer process. Thats often caused by über-eager anti virus software or other OS specific things |
@Ma15fo43 how did you know what program caused it? |
@z4cH4r I figured it out by uninstalling a lot of my programs 😅 |
Malwarebytes (AV) was the issue for me. Once I disabled that, things were fine. |
@coalpha I tried safe mode of windows so any av and other software never affect vscode. |
I'd imagine that the extensions marketplace is largely dependent on your network connection. |
THANK YOU! Badlion Client was the issue for me too... I was having this issue since months (~40s startup) with no idea what was causing it.... uninstalled badlion client, restarted, and now code is super fast to open! |
@Ma15fo43 @dukio THANK YOU!!!!!!! |
No problem! We're now sure that the Badlion Client is slowing down all the Electron apps installed on the PC. Maybe talking with the Badlion Staff Team will help resolving this issue? Edit: I found a similar issue on the Badlion forums: https://www.badlion.net/forum/thread/240288 |
Hi. We will investigate why the Badlion Client could be causing a slowdown like this. Didn't know it was on such a mass scale as is being shown here in this thread. Had one isolated report a while back (not the one linked), but I see there are more reports coming in with time. |
im having the same problem, vscode info
i mainly program in python and i do alot of small projects, often wanting to have 3 instances open but it just takes too long to open to be worth it. things like: if anyone can help let me know |
Hi. Just wanted to drop an update that the issue related to Badlion Client should now be resolved with VSCode. Anything else that is happening is 100% out of our scope. Good luck on any other problems :) |
@mastergberry what was the causing this problem? |
@mastergberry Thanks for the update and the fast turn-around Now, let's find out what other applications/settings/etc exist that can slow things down. |
After the Windows 10 update process, VS Code and other programs I used had slowed down. I noticed that the Cortana service was open after the update. I turned off this service and restarted Windows. It's now back to normal. |
Do you know the fully detailed version of windows that you have updated to? |
August 11, 2020—KB4566782 (OS Build 19041.450) |
I have similar issues when opening files with VS Code. Any updates on this? |
There are some workarounds. First, you can try to uninstall the Badlion Client if you have it on your computer. Some people still have problems with it. Then you can disable the Cortana service if you are on Windows. We are always looking for applications or settings that can slow down VsCode but this should help! You can also create a new issue if none of the above solutions work for you, by following the procedure for performance issues (see here) |
As I mentioned above already, all of the Badlion Client issues were resolved a long time ago. Anything else is not from us. |
Looks like a user identified it as being a problem with "Nahimic service" / Nahimic audio drivers. Stopping the Nahimic service for me immediately resolved the issue. |
I am closing this as there are multiple issues consolidated here. The issue due to Badlion client is considered to be fixed and the issue due to And if you still see a slowdown with latest insiders https://code.visualstudio.com/insiders that is not due to above two softwares, please open a new issue. Thanks! |
Issue Type: Performance Issue
Hi,
Since the last july update and the switch to the user version (vs. all users version) of vscode, everything is slow. Vscode takes like 20 seconds to open and then when I click on a file it takes another 10 seconds to open it.
I tried to disable all extensions, nothing changed.
The problem came right after I downloaded the "user version" of vscode. Before that, I had the "all users version" installed and everything was ok. Maybe it's because I'm on an entreprise computer linked to a windows domain and our user PATH is special and located on a network drive.
Thanks in advance for your help !
Regards
Clément
VS Code version: Code 1.26.0 (4e93618, 2018-08-13T16:29:31.933Z)
OS version: Windows_NT x64 10.0.16299
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: unavailable_software
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: unavailable_off
Process Info
Workspace Info
Extensions (21)
The text was updated successfully, but these errors were encountered: