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.03k stars 390 forks source link

Settings Sync causes high CPU load #1395

Open adamklepacz opened 2 years ago

adamklepacz commented 2 years ago

Type: Performance Issue

After installing the Settings Sync extension it is causing a high CPU usage.

Extension version: 3.4.3 VS Code version: Code 1.73.1 (Universal) (6261075646f055b99068d3688932416f2346dd3b, 2022-11-09T02:08:38.961Z) OS version: Darwin x64 22.1.0 Modes: Sandboxed: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz (8 x 2300)| |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)|6, 6, 5| |Memory (System)|32.00GB (5.06GB free)| |Process Argv|--crash-reporter-id 6ff001a7-0880-4095-9988-116823b0c3d3| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 21 197 9980 code main 12 66 9983 gpu-process 1 33 9988 utility-network-service 57 524 9989 window (PricingTable.tsx — candis-next-website) 9 197 10249 shared-process 0 66 10251 ptyHost 0 33 11564 fileWatcher 0 0 11574 /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 3 66 11562 issue-reporter 82 164 11563 extensionHost 71 66 11567 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node --max-old-space-size=3072 /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js --serverMode partialSemantic --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --cancellationPipeName /var/folders/rl/bs8d6l992jl3ttxtcchdzwjm0000gq/T/vscode-typescript503/14cd20de4c962e73b669/tscancellation-a2ce68e49d9c806d7c8e.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc 71 66 11568 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node --max-old-space-size=3072 /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName /var/folders/rl/bs8d6l992jl3ttxtcchdzwjm0000gq/T/vscode-typescript503/14cd20de4c962e73b669/tscancellation-3ad1a210e48a05d4e042.tmp* --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc 0 0 11572 ```
Workspace Info ``` | Window (PricingTable.tsx — candis-next-website) | Folder (candis-next-website): 1352 files | File types: webp(351) tsx(125) pack(111) ts(76) js(64) json(52) svg(26) | old(11) log(11) DS_Store(10) | Conf files: package.json(12) tsconfig.json(8) project.json(3) | launch.json(2) settings.json(1) | Launch Configs: node-terminal(2) pwa-chrome; ```
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492:30256859 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 pythondataviewer:30285071 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdc:30486549 c4g48928:30535728 dsvsc012:30540252 azure-dev_surveyone:30548225 vsccc:30610678 pyindex848:30577860 nodejswelcome1cf:30587006 fc301958:30595537 2e4cg342:30602488 gswce1:30612156 3d0df643:30613357 dbltrim-noruby:30604474 f6dab269:30613381 ```
elifiner commented 1 year ago

Same here. Found this with Extension Bisect.