Open qiupo opened 1 year ago
Same here. Two cores pegged at 100% while using the extension, back down to 0% after disabling it.
Extension enabled:
CPU % Mem MB PID Process
3 164 80334 code main
0 66 80337 gpu-process
0 33 80340 utility-network-service
2 360 80342 window (Extension: Settings Sync ā buyer-app)
0 131 80461 shared-process
0 33 80558 ptyHost
0 33 80685 fileWatcher
0 33 80686 fileWatcher
113 328 81088 extension-host
0 1901 81254 /Users/rtomasi/go/bin/gopls -mode=stdio
0 33 81346 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=81088
124 426 81118 extension-host
0 98 81289 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=81118
0 131 82365 window (undefined)
Extension disabled:
CPU % Mem MB PID Process
0 197 82915 code main
1 66 82919 gpu-process
0 33 82921 utility-network-service
4 360 82922 window (order.go ā go)
0 262 82995 shared-process
0 66 83083 ptyHost
0 66 83265 fileWatcher
0 66 83267 fileWatcher
0 262 83674 extension-host
1 2490 83842 /Users/rtomasi/go/bin/gopls -mode=stdio
0 66 83897 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=83674
0 360 83679 extension-host
0 98 83867 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=83679
0 98 84041 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) --ms-enable-electron-run-as-node /Users/rtomasi/.vscode/extensions/redhat.vscode-yaml-1.10.1/dist/languageserver.js --node-ipc --clientProcessId=83679
Looks like the maintainer has been AWOL for 2 years, and hasn't provided any of the people who volunteered with access, so not getting my hopes up.
@alexr00 (sorry, tagging first relevant user I found in the code repo) is there a way to take an extension down from the VS marketplace? This currently has a misleading nearly-5 stars.
@ricardobeat hi, thanks for reaching out. We are aware of this, and this issue has our latest thinking https://github.com/microsoft/vscode/issues/147707#issuecomment-1346260717
If the extension author does not fix this as he promised we might go ahead and mark the extension as deprecated.
@isidorn please do that - I just spent some time with VSCode Extension Bisect to identify code-settings-sync being the reason for 100% cpu usage per each VSCode window.
OMG I've been coding for half a year or so with 90% CPU consumed by VS Code, in a room heated by my desktop and a noticeably increased power bill and thought it was normal. I had frequent crashes and freezes.
After reading this disabled settings sync and it's now around 1-2%. Freezes are gone. Thank you guys.
@jnpatrick99 cool, thanks for sharing. Just curious - how did you find out it is the settings sync extension. Did you notice it is deprecated in product, or you came across this issue?
Type: Performance Issue
1.open settings sync 2.the code helper cpu occupies about 120
Extension version: 3.4.3 VS Code version: Code 1.74.1 (Universal) (1ad8d514439d5077d2b0b7ee64d2ce82a9308e5a, 2022-12-14T10:33:40.793Z) OS version: Darwin arm64 22.1.0 Modes: Sandboxed: No
System Info
|Item|Value| |---|---| |CPUs|Apple M1 (8 x 24)| |GPU Status|2d_canvas: enabledcanvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|3, 3, 5| |Memory (System)|16.00GB (0.72GB free)| |Process Argv|--crash-reporter-id 80c805f8-935c-41b8-8237-fc6c41da19b4 --inspect-extensions=4073 --crash-reporter-id 80c805f8-935c-41b8-8237-fc6c41da19b4| |Screen Reader|no| |VM|0%|
Process Info
``` CPU % Mem MB PID Process 19 229 9967 code main 0 98 9975 gpu-process 0 49 9976 utility-network-service 0 262 10066 shared-process 0 66 10068 ptyHost 0 49 10462 fileWatcher 0 0 10500 /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 541 10155 window (Visual Studio Code) 0 115 10455 issue-reporter 0 229 10461 extensionHost 0 49 10465 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node --nolazy --inspect=6009 /Users/taoqiupo/.vscode/extensions/formulahendry.auto-rename-tag-0.1.10/packages/server/dist/serverMain.js --node-ipc --clientProcessId=10461 0 98 10468 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node --nolazy --inspect=60048 /Users/taoqiupo/.vscode/extensions/streetsidesoftware.code-spell-checker-2.12.0/packages/_server/dist/main.js --node-ipc --clientProcessId=10461 ```Workspace Info
``` ; ```A/B Experiments
``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263cf:30335440 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30410667 cppdebug:30492333 vsclangdf:30486550 c4g48928:30535728 dsvsc012cf:30540253 azure-dev_surveyone:30548225 pyindex848cf:30577861 nodejswelcome1:30587005 282f8724:30602487 gswce1:30612156 3d0df643:30613357 f6dab269:30613381 fim-prod:30623723 ```