microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.97k stars 29.19k forks source link

Opening Slow #190264

Closed maheshyangandul closed 1 year ago

maheshyangandul commented 1 year ago

Type: Performance Issue

In my laptop visual studio code laging and slow opening. my laptop is very fast with ryzen 5600h processor with 8GB RAM, 512SSD. Please solve this issue.

VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z) OS version: Windows_NT x64 10.0.22621 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 5 5600H with Radeon Graphics (12 x 3294)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|7.41GB (2.09GB free)| |Process Argv|F:\\React\\redux_app --crash-reporter-id b4ec82fc-6462-42dc-a334-d740a1794492| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 0 92 7256 code main 0 81 1420 ptyHost 0 6 2856 conpty-agent 0 63 6952 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\mahes\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}" 0 27 2752 crashpad-handler 0 178 3668 gpu-process 0 87 7856 window [2] (Issue Reporter) 0 188 8324 extensionHost [1] 0 196 3948 electron-nodejs ("C:\Users\mahes\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node --max-old-space-size=3072 "c:\Users\mahes\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js" --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName C:\Users\mahes\AppData\Local\Temp\vscode-typescript\a17ff598a75be3557e45\tscancellation-ccebd8316655756fc701.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc) 0 84 2316 electron-nodejs ("C:\Users\mahes\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:/Users/mahes/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/node_modules/typescript/lib/typingsInstaller.js" --globalTypingsCacheLocation C:/Users/mahes/AppData/Local/Microsoft/TypeScript/5.1 --enableTelemetry --typesMapLocation "c:/Users/mahes/AppData/Local/Programs/Microsoft VS Code/resources/app/extensions/node_modules/typescript/lib/typesMap.json" --validateDefaultNpmLocation) 0 111 9188 electron-nodejs ("C:\Users\mahes\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node --max-old-space-size=3072 "c:\Users\mahes\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\node_modules\typescript\lib\tsserver.js" --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName C:\Users\mahes\AppData\Local\Temp\vscode-typescript\a17ff598a75be3557e45\tscancellation-078d8cf9659826ac1635.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc) 0 78 9696 electron-nodejs ("C:\Users\mahes\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node c:\Users\mahes\.vscode\extensions\formulahendry.auto-rename-tag-0.1.10\packages\server\dist\serverMain.js --node-ipc --clientProcessId=8324) 0 48 9136 utility-network-service 0 84 12000 fileWatcher [1] 0 198 12500 window [1] (Settings - redux_app - Visual Studio Code) 0 96 15320 shared-process ```
Workspace Info ``` | Window (Settings - redux_app - Visual Studio Code) | Folder (redux_app): 34 files | File types: js(14) json(3) png(2) css(2) gitignore(1) ico(1) html(1) | txt(1) md(1) svg(1) | Conf files: package.json(1); ```
Extensions (6) Extension|Author (truncated)|Version ---|---|--- es7-react-js-snippets|dsz|4.4.3 auto-rename-tag|for|0.1.10 live-server|ms-|0.4.9 postman-for-vscode|Pos|0.5.5 format-html-in-php|rif|1.7.0 LiveServer|rit|5.7.9
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30256859 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 pythonvs932:30410667 py29gd2263cf:30792227 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 vsccc:30803844 2e4cg342:30602488 f6dab269:30613381 a9j8j154:30646983 showlangstatbar:30737416 vsctsb:30748421 03d35959:30757346 pythonfmttext:30731395 pythoncmvfstrcf:30756944 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 gsofa:30804715 pythonnosmt12:30797651 pythonidxptcf:30805731 pythonnoceb:30805159 dsvsc013:30795093 dsvsc014:30804076 ```
bpasero commented 1 year ago

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

lorand-horvath commented 1 year ago

In my case 1.81.1 is slow to quit. There's a spinner appearing occasionally when closing the app. Issue did not occur with previous versions up to and including 1.81.0. Nothing out of the ordinary has changed in my setup, only the update to 1.81.1

Insider working fine.