microsoft / vscode

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

perf: The entire vscode input becomes very stuck. #201649

Closed rxliuli closed 9 months ago

rxliuli commented 9 months ago

Type: Performance Issue

After starting vscode and not closing it for a long time, the input of vscode will become stuck, even in the input box where this issue was created.

VS Code version: Code 1.85.1 (Universal) (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:48:06.308Z) OS version: Darwin arm64 22.4.0 Modes:

System Info |Item|Value| |---|---| |CPUs|Apple M2 Max (12 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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)|5, 3, 2| |Memory (System)|64.00GB (9.58GB free)| |Process Argv|--crash-reporter-id fe1e28dd-2bb7-4495-bad1-f5ec80ea554e| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 54 524 46279 code main 3 131 46282 gpu-process 0 66 46283 utility-network-service 0 786 46285 window [1] (blog) 0 66 46417 ptyHost 0 0 65392 /bin/zsh -il 1 197 46420 shared-process 0 0 86651 /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 66 65388 fileWatcher [1] 0 393 65389 extensionHost [1] 0 66 65740 electron-nodejs (/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/markdown-language-features/server/dist/node/workerMain --node-ipc --clientProcessId=65389) 0 66 83706 electron-nodejs (/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=65389) 2 66 86649 window [16] (Issue Reporter) ```
Workspace Info ``` | Window (blog) | Folder (blog): 596 files | File types: md(286) png(173) jpg(55) svg(28) gif(14) html(7) yml(4) | js(2) ogg(2) gitignore(1) | Conf files: github-actions(1) package.json(1); ```
Extensions (9) Extension|Author (truncated)|Version ---|---|--- path-intellisense|chr|2.8.5 vscode-markdownlint|Dav|0.53.0 prettier-vscode|esb|10.1.0 copilot|Git|1.143.0 intellij-idea-keybindings|k--|1.5.12 joplin-vscode-plugin|rxl|1.3.1 markdown-link-logo|rxl|0.1.0 vscode-icons|vsc|12.6.0 markdown-all-in-one|yzh|3.5.1
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242cf:30382550 vsjup518:30340749 vshan820:30294714 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 py29gd2263:30899288 vsclangdc:30486549 c4g48928:30535728 dsvsc012:30540252 azure-dev_surveyone:30548225 f6dab269:30613381 vscrp:30673768 a9j8j154:30646983 showlangstatbar:30737416 0bi6i642:30917235 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 dsvsc013:30795093 dsvsc014:30804076 dsvsc015:30845448 pythontestfixt:30902429 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 accentitlementst:30887150 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 aa_t_chat:30882232 cp7184c:30925681 ```
bpasero commented 9 months ago

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

vscodenpa commented 9 months 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!