vscode: [windows] Slow opening (vscode, file, folder...)

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 (4e9361845dc28659923a300945f84731393e210d, 2018-08-13T16:29:31.933Z) OS version: Windows_NT x64 10.0.16299

System Info
Item Value
CPUs Intel® Core™ i7-4800MQ CPU @ 2.70GHz (8 x 2694)
GPU Status 2d_canvas: enabled
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
Memory (System) 7.91GB (0.76GB free)
Process Argv C:\Users\clement.boillat\AppData\Local\Programs\Microsoft VS Code\Code.exe --prof-startup
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	   119	 15100	code main
    1	    64	  1360	   window (Issue Reporter)
    0	   134	  5676	   shared-process
    0	   157	 13184	   window (Untitled-1)
    0	   152	 13748	     extensionHost
    0	    38	 16416	     searchService
    0	    16	 18372	     electron-crash-reporter
    0	   145	 13336	   gpu-process
    0	    25	 14028	   utility
Workspace Info
;
Extensions (21)
Extension Author (truncated) Version
vscode-color ans 0.4.5
path-intellisense chr 1.4.2
open-html-in-browser cod 0.1.21
bracket-pair-colorizer Coe 1.0.59
vscode-eslint dba 1.4.12
vscode-html-css ecm 0.2.0
vsc-material-theme Equ 2.3.0
prettier-vscode esb 1.6.1
beautify Hoo 1.3.2
smarty imp 0.3.0
sftp lix 1.3.9
prettify-json moh 0.0.3
vscode-apache mrm 1.1.1
sublime-keybindings ms- 4.0.0
color-highlight nau 2.3.0
vetur oct 0.12.6
code-settings-sync Sha 3.0.0
trailing-spaces sha 0.2.11
stylelint shi 0.39.0
quokka-vscode Wal 1.0.137
html-css-class-completion Zig 1.17.1

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 19
  • Comments: 100 (28 by maintainers)

Most upvoted comments

Also got the same bug in 1.42.0. Fixed by uninstalling a program (in that case, Badlion Client) that was completely slowing down VSCode. Startup time with bug: ~20 secs to load everything Without it: at least 5 seconds to load huge projects

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.

Just uninstalled 1.28 - also super slow (just like 1.26 & 1.27). Downgraded to 1.25 and everything is good now!

1.29 also slow.

@Ma15fo43 @dukio THANK YOU!!! OMFG, It actually worked for me. All I did thing is just uninstall badlion client and then restart the pc. now code is extremely fast… EDIT: I tried other electron apps like discord, postman. and It was also taking like 1 min to launch but now launches within 1 sec.

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 😃

Malwarebytes (AV) was the issue for me. Once I disabled that, things were fine.

I think the answer to this issue may be a bit straightforward: we have to stick with 1.25 until VSCode is updated to Electron 4.0. It’s a bit unfortunate because of all the features we are missing, but it’s the “cost” of having a fast editor. Anyone from the VSCode team willing to share the status on this upgrade? (if this is the solution you guys are aiming for)

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.

@bpasero - tracing data: data.zip