microsoft / vscode

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

bash terminal in vscode on windows is lagging. PS i don't see the issue #214837

Closed dbbc96 closed 3 months ago

dbbc96 commented 3 months ago

Type: Performance Issue

launch a bash terminal and pasting values from clipboard. Even after it catching up and hitting return to get back to prompt, sits there for a few seconds.

VS Code version: Code 1.90.0 (89de5a8d4d6205e5b11647eb6a74844ca23d2573, 2024-06-04T19:33:54.889Z) OS version: Windows_NT x64 10.0.22621 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2592)| |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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|31.64GB (23.11GB free)| |Process Argv|--crash-reporter-id a073724f-3400-4a42-9958-d487d6540709| |Screen Reader|no| |VM|31%|
Process Info ``` CPU % Mem MB PID Process 0 103 12060 code main 0 79 2600 fileWatcher [1] 0 110 6648 shared-process 0 28 7024 crashpad-handler 1 211 10624 window [1] (Welcome - Visual Studio Code) 0 42 10968 utility-network-service 0 96 14208 window [2] (Issue Reporter) 0 311 17788 extensionHost [1] 0 94 18040 ptyHost 0 7 14152 conpty-agent 0 5 17420 "C:\Program Files\Git\bin\bash.exe" --init-file "c:\Users\myuser\AppData\Local\Programs\Microsoft VS Code\resources\app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh" 0 11 16612 "C:\Program Files\Git\bin\..\usr\bin\bash.exe" --init-file "c:\Users\myuser\AppData\Local\Programs\Microsoft VS Code\resources\app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh" 0 163 19860 gpu-process ```
Workspace Info ``` ; ```
Extensions (32) Extension|Author (truncated)|Version ---|---|--- terraform|4op|0.2.5 amazon-q-vscode|ama|1.8.0 aws-toolkit-vscode|ama|3.9.0 cloudformation-yaml-validator|cha|0.3.15 gitlens|eam|15.1.0 prettier-vscode|esb|10.4.0 hcl|has|0.5.0 terraform|has|2.30.2 vscode-edit-csv|jan|0.9.1 batch-rename-extension|Jan|0.0.6 dupchecker|jia|0.1.7 json2csv|kha|0.0.1 aws-cli-configure|mar|0.3.0 prettify-json|moh|0.0.3 vscode-docker|ms-|1.29.1 vscode-kubernetes-tools|ms-|1.3.16 debugpy|ms-|2024.6.0 isort|ms-|2023.10.1 python|ms-|2024.8.0 vscode-pylance|ms-|2024.6.1 jupyter|ms-|2024.5.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.369.0 remote-ssh|ms-|0.110.1 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.88.2 remote-explorer|ms-|0.4.3 terraform-advanced-syntax-highlighting|pjm|1.4.2 vscode-yaml|red|1.15.0
A/B Experiments ``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 jchc7451:31067544 showvideot:31016892 chatpanelc:31048052 dsvsc021:30996838 9c06g630:31013171 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 pythonprt:31056678 dwnewjupyter:31046869 2f103344:31071589 26j00206:31048877 ```
yogeshhrathod commented 3 months ago

Getting the same issue on my device

welpie21 commented 3 months ago

Got the same issue on 2 computers and 1 laptop. Both running on Windows 11

vaelu commented 3 months ago

Same here. Found this troubleshooting guide, maybe it helps: https://medium.com/@hariviswadeep/integrated-terminal-very-slow-in-visual-studio-code-1d81911a8761

gjsjohnmurray commented 3 months ago

/duplicate of pinned issue https://github.com/microsoft/vscode/issues/212090

VSCodeTriageBot commented 3 months ago

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.

Happy Coding!