shanalikhan / code-settings-sync

🌴💪 Synchronize your Visual Studio Code Settings Across Multiple Machines using GitHub GIST 💪🌴
https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync
MIT License
4.01k stars 385 forks source link

120% CPU with extenstion active #1402

Open leo-diehl opened 1 year ago

leo-diehl commented 1 year ago

Type: Performance Issue

The extension is making vscode use 120% of my mac m1 pro cpu. I just enable it, and it starts consuming my resources.

Extension version: 3.4.3 VS Code version: Code 1.73.0 (Universal) (8fa188b2b301d36553cbc9ce1b0a146ccb93351f, 2022-11-01T15:38:50.881Z) OS version: Darwin arm64 22.1.0 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|Apple M1 Pro (10 x 24)| |GPU Status|2d_canvas: enabled
canvas_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)|1, 2, 2| |Memory (System)|32.00GB (7.19GB free)| |Process Argv|--crash-reporter-id 9d91eb3c-e69e-4111-a965-6c57620ea717| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 13 459 1708 code main 1 131 1711 gpu-process 0 66 1713 utility-network-service 0 852 1714 window (patient-ui - Running Extensions) 1 328 1742 shared-process 0 66 1743 ptyHost 0 0 2015 /bin/zsh -il 0 66 5279 fileWatcher 0 0 5373 /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 98 3882 utility 110 229 5283 extensionHost 0 33 5287 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Users/lediehl/.vscode/extensions/formulahendry.auto-rename-tag-0.1.10/packages/server/dist/serverMain.js --node-ipc --clientProcessId=5283 1 98 5369 issue-reporter ```
Workspace Info ``` | Window (patient-ui - Running Extensions) | Folder (patient-ui): 18310 files | File types: html(7255) js(2632) ts(1630) map(1482) png(1219) tsx(632) | svg(362) scss(217) css(180) jpg(161) | Conf files: tsconfig.json(19) package.json(18) settings.json(2) | dockerfile(1) makefile(1) webpack.config.js(1); ```
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 vscorecescf:30445987 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30410667 cppdebug:30492333 vscaac:30438847 vsclangdc:30486549 c4g48928:30535728 dsvsc012:30540252 azure-dev_surveyone:30548225 vsccc:30610678 pyindex848:30577860 nodejswelcome1:30587005 2e4cg342:30602488 gswce1:30612156 iaj6b796:30613358 dbltrim-noruby:30604474 89544117:30613380 fim-prod:30623723 ```