vscode icon indicating copy to clipboard operation
vscode copied to clipboard

IT'S VERY SLOW

Open devansh-dhall opened this issue 1 year ago • 3 comments

Type: Performance Issue

I started using vs code after a long time on my laptop, and it's very slow when the code is run for some reason.

VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:57:04.379Z) OS version: Windows_NT x64 10.0.22621 Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 x 2496)
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.80GB (0.56GB free)
Process Argv --crash-reporter-id f33644fd-f166-4621-b9e6-d50bcb2f2031
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	    91	 35664	code main
    0	    31	 26892	fileWatcher [1]
    0	    96	 35612	extensionHost [1]
    0	    66	 68452	     "c:\Users\Devansh Dhall\.vscode\extensions\ms-vscode.cpptools-1.16.0-win32-x64\bin\cpptools.exe"
    0	     9	 59428	       console-window-host (Windows internal process)
    0	     4	 61236	       "c:\Users\Devansh Dhall\.vscode\extensions\ms-vscode.cpptools-1.16.0-win32-x64\bin\cpptools.exe"
    0	    61	 48748	         "c:\Users\Devansh Dhall\.vscode\extensions\ms-vscode.cpptools-1.16.0-win32-x64/bin/cpptools-srv.exe" 68452 {9FD374AC-6DFA-4E9D-B194-D2D5F8EF5959}
    0	     9	 44304	           console-window-host (Windows internal process)
    1	   115	 43036	   gpu-process
    0	    64	 56896	shared-process
    0	    18	 57900	   crashpad-handler
    0	    37	 60936	ptyHost
    0	    58	 11572	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\Devansh Dhall\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}"
    0	     8	 50564	     console-window-host (Windows internal process)
    0	   201	 62448	window [1] (1.1basics.cpp - Visual Studio Code)
    0	    90	 64432	window [2] (Issue Reporter)
    0	    43	 66432	   utility-process
    0	    29	 66844	   utility-network-service
Workspace Info
;
Extensions (21)
Extension Author (truncated) Version
doxdocgen csc 1.4.0
vscode-eslint dba 2.4.0
javascript-ejs-support Dig 1.3.3
vscode-toggle-column-selection eri 1.0.6
prettier-vscode esb 9.13.0
file-icons fil 1.0.29
auto-close-tag for 0.5.14
code-runner for 0.12.0
stylelint-plus hex 0.56.6
better-cpp-syntax jef 1.17.2
remote-containers ms- 0.295.0
remote-ssh ms- 0.102.0
remote-ssh-edit ms- 0.86.0
remote-wsl ms- 0.79.5
cmake-tools ms- 1.14.33
cpptools ms- 1.16.0
cpptools-extension-pack ms- 1.3.0
remote-explorer ms- 0.4.0
color-highlight nau 2.5.0
LiveServer rit 5.7.9
cmake twx 0.0.17

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
3biah626:30602489
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
03d35959:30757346
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixhidewlkth:30730051
showindicator:30766890
pythongtdpath:30769146
i26e3531:30769768
dh2dc718:30770000
pythonidxpt:30768921

devansh-dhall avatar Jun 17 '23 13:06 devansh-dhall

Are you using McAfee antivirus? If so please see https://github.com/microsoft/vscode/issues/178962

gjsjohnmurray avatar Jun 17 '23 16:06 gjsjohnmurray

I can confirm. McAfee slows down the launch time. Just add the vscode.exe file to the excluded files and it will work normally

glaucusec avatar Jun 23 '23 03:06 glaucusec

I do not use antivirus. But VS is slow and buggy. Fake errors, slow commits, problems with intellisense.

b-mi avatar Jul 09 '23 12:07 b-mi

Hey @deepak1556, this issue might need further attention.

@devansh-dhall, you can help us out by closing this issue if the problem no longer exists, or adding more information.

VSCodeTriageBot avatar Sep 28 '23 11:09 VSCodeTriageBot

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

VSCodeTriageBot avatar Oct 06 '23 11:10 VSCodeTriageBot