microsoft / vscode

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

VSCode slows down #221794

Closed GingertronMk1 closed 1 month ago

GingertronMk1 commented 1 month ago

Type: Performance Issue

After using it for some amount of time, VScode will just start slowing down until it is essentially unusable. Even writing this report my typing is about a word ahead of where the cursor is

VS Code version: Code 1.91.1 (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:07:54.982Z) OS version: Darwin x64 24.0.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)| |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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|3, 3, 3| |Memory (System)|16.00GB (0.10GB free)| |Process Argv|--crash-reporter-id e1900da5-1263-43ce-a6ca-83199385d52a| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 47 131 512 code main 0 49 728 gpu-process 0 16 734 utility-network-service 1 344 768 window [1] (TeamModel.php — clubhouse) 30 82 1071 shared-process 0 0 5712 /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 16 1072 fileWatcher [1] 0 197 1073 extensionHost [1] 0 16 1200 electron-nodejs (languageserver.js ) 0 737 1232 PHP Language Server 0 0 1262 electron-nodejs (server-node.js ) 0 16 1311 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/html-language-features/server/dist/node/htmlServerMain --node-ipc --clientProcessId=1073 0 16 1366 electron-nodejs (eslintServer.js ) 0 82 1378 electron-nodejs (intelephense.js ) 0 0 1414 /Users/jackellis/.vscode/extensions/devsense.intelli-php-vscode-0.12.15062-darwin-x64/out/server/intelliphp.ls 0 16 1422 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/markdown-language-features/server/dist/node/workerMain --node-ipc --clientProcessId=1073 0 16 1428 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=1073 0 16 1079 ptyHost 0 0 1082 /bin/zsh -il 0 0 86061 /bin/zsh -il 51 66 5654 window [3] (Issue Reporter) 0 115 86046 window [2] (Generator.php — the-integrated-theatre-system) 0 49 86056 extensionHost [2] 0 16 86146 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=86056 0 16 86171 electron-nodejs (languageserver.js ) 0 0 86192 PHP Language Server 0 16 86253 electron-nodejs (server-node.js ) 0 33 86275 electron-nodejs (intelephense.js ) 0 16 86276 /Users/jackellis/.vscode/extensions/devsense.intelli-php-vscode-0.12.15062-darwin-x64/out/server/intelliphp.ls 0 16 86500 electron-nodejs (eslintServer.js ) 0 16 86510 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/html-language-features/server/dist/node/htmlServerMain --node-ipc --clientProcessId=86056 0 16 86057 fileWatcher [2] ```
Workspace Info ``` | Window (Generator.php — the-integrated-theatre-system) | Window (TeamModel.php — clubhouse) | Folder (the-integrated-theatre-system): 11358 files | File types: php(8650) md(294) json(183) stub(135) vue(54) rst(38) | js(32) jsx(28) tsx(28) css(21) | Conf files: github-actions(2) package.json(2) tsconfig.json(2) | launch.json(1) tasks.json(1) dockerfile(1) | jsconfig.json(1) makefile(1) | Launch Configs: php | Folder (clubhouse): 16667 files | File types: php(10385) inc(546) xml(277) fixed(242) md(231) xlf(171) | json(160) twig(97) js(81) svg(59) | Conf files: package.json(3) github-actions(2) dockerfile(2) | webpack.config.js(1); ```
Extensions (82) Extension|Author (truncated)|Version ---|---|--- vscode-openapi|42C|4.27.0 better-comments|aar|3.0.2 laravel-extra-intellisense|ami|0.6.6 vscode-intelephense-client|bme|1.10.4 npm-intellisense|chr|1.4.5 laravel-goto-view|cod|1.3.11 devdb|dam|1.11.4 vscode-eslint|dba|3.0.10 composer-php-vscode|DEV|1.49.15728 intelli-php-vscode|DEV|0.12.15062 gitlens|eam|15.2.0 vscode-html-css|ecm|2.0.10 EditorConfig|Edi|0.16.4 vsc-material-theme-icons|equ|3.6.1 prettier-vscode|esb|10.4.0 code-runner|for|0.12.2 ginfuru-vscode-jekyll-syntax|gin|0.1.1 vscode-jekyll-snippets|gin|0.9.3 vscode-github-actions|git|0.26.3 vscode-pull-request-github|Git|0.92.0 laravel-create-view|gli|0.0.6 gc-excelviewer|Gra|4.2.59 haskell-linter|hoo|0.0.6 latex-workshop|Jam|10.1.0 vscode-edit-csv|jan|0.9.2 vscode-peacock|joh|4.2.2 language-haskell|jus|3.6.0 vsc-python-indent|Kev|1.18.0 vscode-phpfmt|kok|1.2.12 vscode-autohotkey-plus-plus|mar|5.0.5 twig-language|mbl|0.9.4 twig-language-2|mbl|0.9.4 rainbow-csv|mec|3.12.0 dotenv|mik|1.0.1 vscode-docker|ms-|1.29.1 csharp|ms-|2.34.12 vscode-dotnet-runtime|ms-|2.0.9 jupyter|ms-|2024.6.0 jupyter-keymap|ms-|1.1.2 jupyter-renderers|ms-|1.0.18 vscode-jupyter-cell-tags|ms-|0.1.9 vscode-jupyter-slideshow|ms-|0.1.6 remote-containers|ms-|0.375.1 remote-ssh|ms-|0.112.0 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.88.2 remote-explorer|ms-|0.4.3 laravel-goto-components|nao|1.2.0 php-docblocker|nei|2.7.0 laravel-blade|one|1.36.1 laravel-extension-pack|one|1.3.0 laravel-jump-controller|pgl|0.0.33 vscode-php-getters-setters|php|1.2.3 material-icon-theme|PKi|5.5.1 ruby|reb|0.28.1 vscode-commons|red|0.0.6 vscode-yaml|red|1.15.0 LiveServer|rit|5.7.9 robotframework-lsp|rob|1.12.0 wikitext|Row|3.8.1 rust-analyzer|rus|0.3.2037 laravel-artisan|rya|0.0.31 markdown-preview-enhanced|shd|0.8.13 vscode-blade-formatter|shu|0.24.2 shopify-liquid|sis|4.0.1 vscode-fileutils|sle|3.10.3 even-better-toml|tam|0.19.2 stylish-haskell|vig|0.0.10 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.3.1 vscodeintellicode-completions|Vis|2.0.0 vscodeintellicode-insiders|Vis|1.1.10 vsc-php-snippets|vsc|0.0.30 vim|vsc|1.27.3 volar|Vue|2.0.8 twig|wha|1.0.2 vscode-ruby|win|0.28.0 JavaScriptSnippets|xab|1.8.0 php-debug|xde|1.35.0 php-pack|xde|1.0.3 markdown-all-in-one|yzh|3.6.2 php-intellisense|zob|1.3.3
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes516:30244333 vscod805cf:30301675 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 chatpanelt:31048053 dsvsc021:30996838 945dj816:31013170 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 2f103344:31071589 impr_priority:31094925 pythonrstrctxt:31093869 4930e709:31092288 ```
VSCodeTriageBot commented 1 month ago

Please diagnose the root cause of the issue by running the command F1 > Help: Troubleshoot Issue and following the instructions. Once you have done that, please update the issue with the results.

Happy Coding!

sandy081 commented 1 month ago

If the issue is confirmed to be in VS Code please follow this wiki and provide us necessary information that will help us diagnose the issue

https://github.com/microsoft/vscode/wiki/Performance-Issues

vs-code-engineering[bot] commented 1 month ago

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!