microsoft / vscode

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

Terminal Performance Lag #150445

Closed alitjanjua closed 2 years ago

alitjanjua commented 2 years ago

We have written the needed data into your clipboard because it was too large to send. Please paste. Issue Type: Performance Issue

When I try to request something like git pull, after the completion when I start typing it takes almost 0.5 second to show on screen and then it works fine

VS Code version: Code 1.67.2 (Universal) (c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5, 2022-05-17T18:20:57.384Z) OS version: Darwin x64 21.4.0 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2200)| |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
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled| |Load (avg)|3, 2, 2| |Memory (System)|16.00GB (0.56GB free)| |Process Argv|--crash-reporter-id d8b4d039-d87f-41c4-9c8a-6eb562a92663| |Screen Reader|no| |VM|0%|
Process Info ``` CPU % Mem MB PID Process 16 147 918 code main 1 66 921 gpu-process 0 16 923 utility-network-service 0 377 925 window (index.js — m1) 3 98 1146 shared-process 0 33 1171 ptyHost 0 0 1869 /bin/zsh -l 0 16 2499 node /usr/local/Cellar/yarn/1.22.17/libexec/bin/yarn.js start 0 16 2500 /Users/macbookpro/.nvm/versions/node/v14.15.3/bin/node /Users/macbookpro/Mergestack/m1/node_modules/.bin/craco start 0 918 2504 /Users/macbookpro/.nvm/versions/node/v14.15.3/bin/node /Users/macbookpro/Mergestack/m1/node_modules/@craco/craco/scripts/start.js 0 16 2518 /Users/macbookpro/Mergestack/m1/node_modules/esbuild-darwin-64/bin/esbuild --service=0.14.36 --ping 0 0 2888 /bin/zsh -l 0 0 3482 /bin/zsh -l 1 98 4773 func host start --verbose 0 131 4778 node --inspect=9229 /usr/local/Cellar/azure-functions-core-tools@4/4.0.3971/workers/node/dist/src/nodejsWorker.js --host 127.0.0.1 --port 50143 --workerId 014b9217-76b0-4e69-8b2e-8bac64184759 --requestId 854195b2-bc7a-4cfe-9ad6-3948eb581ee0 --grpcMaxMessageLength 2147483647 0 33 1865 fileWatcher 0 33 3480 fileWatcher 0 0 8737 /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command= 0 229 1864 extensionHost 0 262 2085 /Applications/Visual Studio Code.app/Contents/MacOS/Electron --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/jw/5g0vr_d17s500pm4qssqh4300000gn/T/vscode-typescript501/0e8829a65c9d9cf1f601/tscancellation-2f40f8917bb4b4a943ee.tmp* --globalPlugins typescript-tslint-plugin,typescript-styled-plugin,@vsintellicode/typescript-intellicode-plugin --pluginProbeLocations /Users/macbookpro/.vscode/extensions/ms-vscode.vscode-typescript-tslint-plugin-1.3.4,/Users/macbookpro/.vscode/extensions/styled-components.vscode-styled-components-1.7.4,/Users/macbookpro/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.2.21 --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc 0 655 2086 /Applications/Visual Studio Code.app/Contents/MacOS/Electron --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/jw/5g0vr_d17s500pm4qssqh4300000gn/T/vscode-typescript501/0e8829a65c9d9cf1f601/tscancellation-a2855459fe298e3d0f49.tmp* --globalPlugins typescript-tslint-plugin,typescript-styled-plugin,@vsintellicode/typescript-intellicode-plugin --pluginProbeLocations /Users/macbookpro/.vscode/extensions/ms-vscode.vscode-typescript-tslint-plugin-1.3.4,/Users/macbookpro/.vscode/extensions/styled-components.vscode-styled-components-1.7.4,/Users/macbookpro/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.2.21 --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc 0 33 2120 /Applications/Visual Studio Code.app/Contents/MacOS/Electron --ms-enable-electron-run-as-node /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/macbookpro/Library/Caches/typescript/4.6 --enableTelemetry --typesMapLocation /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation 0 33 2092 /Applications/Visual Studio Code.app/Contents/MacOS/Electron --ms-enable-electron-run-as-node /Users/macbookpro/.vscode/extensions/redhat.vscode-yaml-1.7.0/dist/languageserver.js --node-ipc --clientProcessId=1864 0 16 2095 /Users/macbookpro/Library/Application Support/Code/User/globalStorage/tabnine.tabnine-vscode/binaries/4.4.12/x86_64-apple-darwin/TabNine --client=vscode --no-lsp=true --client-metadata clientVersion=1.67.2 pluginVersion=3.5.49 t9-vscode-AutoImportEnabled=true t9-vscode-TSAutoImportEnabled=true t9-vscode-JSAutoImportEnabled=true vscode-telemetry-enabled=true vscode-remote=false vscode-remote-name=undefined vscode-extension-kind=1 vscode-theme-name=Default Dark+ vscode-theme-kind=Dark vscode-machine-id=c2d659b6bb154bcae58cf186099da54602255c53a4be7585be3f4c032e75923d vscode-is-new-app-install=false vscode-session-id=fed8a8f9-cccf-4351-89eb-2e89ce1ff6701653545711098 vscode-language=en vscode-app-name=Visual Studio Code vscode-beta-channel-enabled=false vscode-status-customization=unknown ide-restart-counter=0 0 197 2102 /Users/macbookpro/Library/Application Support/Code/User/globalStorage/tabnine.tabnine-vscode/binaries/4.4.12/x86_64-apple-darwin/TabNine --client=vscode --no-lsp=true --client-metadata clientVersion=1.67.2 pluginVersion=3.5.49 t9-vscode-AutoImportEnabled=true t9-vscode-TSAutoImportEnabled=true t9-vscode-JSAutoImportEnabled=true vscode-telemetry-enabled=true vscode-remote=false vscode-remote-name=undefined vscode-extension-kind=1 vscode-theme-name=Default Dark+ vscode-theme-kind=Dark vscode-machine-id=c2d659b6bb154bcae58cf186099da54602255c53a4be7585be3f4c032e75923d vscode-is-new-app-install=false vscode-session-id=fed8a8f9-cccf-4351-89eb-2e89ce1ff6701653545711098 vscode-language=en vscode-app-name=Visual Studio Code vscode-beta-channel-enabled=false vscode-status-customization=unknown ide-restart-counter=0 --no_bootstrap 0 16 6944 /Users/macbookpro/Library/Application Support/Code/User/globalStorage/tabnine.tabnine-vscode/binaries/4.4.12/x86_64-apple-darwin/WD-TabNine --client vscode --client-metadata clientVersion=1.67.2 pluginVersion=3.5.49 t9-vscode-AutoImportEnabled=true t9-vscode-TSAutoImportEnabled=true t9-vscode-JSAutoImportEnabled=true vscode-telemetry-enabled=true vscode-remote=false vscode-remote-name=undefined vscode-extension-kind=1 vscode-theme-name=Default Dark+ vscode-theme-kind=Dark vscode-machine-id=c2d659b6bb154bcae58cf186099da54602255c53a4be7585be3f4c032e75923d vscode-is-new-app-install=false vscode-session-id=fed8a8f9-cccf-4351-89eb-2e89ce1ff6701653545711098 vscode-language=en vscode-app-name=Visual Studio Code vscode-beta-channel-enabled=false vscode-status-customization=unknown ide-restart-counter=0 0 33 2114 /Applications/Visual Studio Code.app/Contents/MacOS/Electron --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=1864 0 98 2138 /Applications/Visual Studio Code.app/Contents/MacOS/Electron --ms-enable-electron-run-as-node /Users/macbookpro/.vscode/extensions/dbaeumer.vscode-eslint-2.2.2/server/out/eslintServer.js --node-ipc --clientProcessId=1864 0 49 8699 /Applications/Visual Studio Code.app/Contents/MacOS/Electron --ms-enable-electron-run-as-node /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/css-language-features/server/dist/node/cssServerMain --node-ipc --clientProcessId=1864 0 98 8700 /Applications/Visual Studio Code.app/Contents/MacOS/Electron --ms-enable-electron-run-as-node /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/html-language-features/server/dist/node/htmlServerMain --node-ipc --clientProcessId=1864 0 213 3444 window (check.js — m1gql) 0 197 3481 extensionHost 0 33 3534 /Applications/Visual Studio Code.app/Contents/MacOS/Electron --ms-enable-electron-run-as-node /Users/macbookpro/.vscode/extensions/redhat.vscode-yaml-1.7.0/dist/languageserver.js --node-ipc --clientProcessId=3481 0 16 3539 /Users/macbookpro/Library/Application Support/Code/User/globalStorage/tabnine.tabnine-vscode/binaries/4.4.12/x86_64-apple-darwin/TabNine --client=vscode --no-lsp=true --client-metadata clientVersion=1.67.2 pluginVersion=3.5.49 t9-vscode-AutoImportEnabled=true t9-vscode-TSAutoImportEnabled=true t9-vscode-JSAutoImportEnabled=true vscode-telemetry-enabled=true vscode-remote=false vscode-remote-name=undefined vscode-extension-kind=1 vscode-theme-name=Default Dark+ vscode-theme-kind=Dark vscode-machine-id=c2d659b6bb154bcae58cf186099da54602255c53a4be7585be3f4c032e75923d vscode-is-new-app-install=false vscode-session-id=d1b6aee0-0336-4522-95c6-71625aa6ce221653551917450 vscode-language=en vscode-app-name=Visual Studio Code vscode-beta-channel-enabled=false vscode-status-customization=unknown ide-restart-counter=0 0 16 3557 /Users/macbookpro/Library/Application Support/Code/User/globalStorage/tabnine.tabnine-vscode/binaries/4.4.12/x86_64-apple-darwin/TabNine --client=vscode --no-lsp=true --client-metadata clientVersion=1.67.2 pluginVersion=3.5.49 t9-vscode-AutoImportEnabled=true t9-vscode-TSAutoImportEnabled=true t9-vscode-JSAutoImportEnabled=true vscode-telemetry-enabled=true vscode-remote=false vscode-remote-name=undefined vscode-extension-kind=1 vscode-theme-name=Default Dark+ vscode-theme-kind=Dark vscode-machine-id=c2d659b6bb154bcae58cf186099da54602255c53a4be7585be3f4c032e75923d vscode-is-new-app-install=false vscode-session-id=d1b6aee0-0336-4522-95c6-71625aa6ce221653551917450 vscode-language=en vscode-app-name=Visual Studio Code vscode-beta-channel-enabled=false vscode-status-customization=unknown ide-restart-counter=0 --no_bootstrap 0 33 3722 /Applications/Visual Studio Code.app/Contents/MacOS/Electron --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=3481 0 49 4469 /Applications/Visual Studio Code.app/Contents/MacOS/Electron --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/jw/5g0vr_d17s500pm4qssqh4300000gn/T/vscode-typescript501/b010fc233763f0146365/tscancellation-78f39dfc6ff7b419626d.tmp* --globalPlugins typescript-tslint-plugin,typescript-styled-plugin,@vsintellicode/typescript-intellicode-plugin --pluginProbeLocations /Users/macbookpro/.vscode/extensions/ms-vscode.vscode-typescript-tslint-plugin-1.3.4,/Users/macbookpro/.vscode/extensions/styled-components.vscode-styled-components-1.7.4,/Users/macbookpro/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.2.21 --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc 0 66 4470 /Applications/Visual Studio Code.app/Contents/MacOS/Electron --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/jw/5g0vr_d17s500pm4qssqh4300000gn/T/vscode-typescript501/b010fc233763f0146365/tscancellation-d43ba03670b17031d9e8.tmp* --globalPlugins typescript-tslint-plugin,typescript-styled-plugin,@vsintellicode/typescript-intellicode-plugin --pluginProbeLocations /Users/macbookpro/.vscode/extensions/ms-vscode.vscode-typescript-tslint-plugin-1.3.4,/Users/macbookpro/.vscode/extensions/styled-components.vscode-styled-components-1.7.4,/Users/macbookpro/.vscode/extensions/visualstudioexptteam.vscodeintellicode-1.2.21 --locale en --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation --useNodeIpc 0 33 4477 /Applications/Visual Studio Code.app/Contents/MacOS/Electron --ms-enable-electron-run-as-node /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/macbookpro/Library/Caches/typescript/4.6 --enableTelemetry --typesMapLocation /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/typesMap.json --validateDefaultNpmLocation 0 33 4473 /Applications/Visual Studio Code.app/Contents/MacOS/Electron --ms-enable-electron-run-as-node /Users/macbookpro/.vscode/extensions/dbaeumer.vscode-eslint-2.2.2/server/out/eslintServer.js --node-ipc --clientProcessId=3481 0 33 4759 /Applications/Visual Studio Code.app/Contents/MacOS/Electron --ms-enable-electron-run-as-node /Users/macbookpro/.vscode/extensions/ms-azuretools.vscode-docker-1.22.0/dist/dockerfile-language-server-nodejs/lib/server.js --node-ipc --node-ipc --clientProcessId=3481 0 33 4760 /Applications/Visual Studio Code.app/Contents/MacOS/Electron --ms-enable-electron-run-as-node /Users/macbookpro/.vscode/extensions/ms-azuretools.vscode-docker-1.22.0/dist/compose-language-service/lib/server.js --node-ipc --node-ipc --clientProcessId=3481 0 66 8734 issue-reporter ```
Workspace Info ``` | Window (check.js — m1gql) | Window (index.js — m1) | Folder (m1gql): 357 files | File types: js(281) json(18) dat(3) yml(2) env(1) gitignore(1) npmrc(1) | md(1) p12(1) lock(1) | Conf files: launch.json(1) settings.json(1) tasks.json(1) | package.json(1) | Launch Configs: node | Folder (m1): 1683 files | File types: js(1290) png(65) css(18) json(12) svg(11) map(11) ico(8) | html(4) csv(4) webmanifest(4) | Conf files: launch.json(1) settings.json(1) jsconfig.json(1) | package.json(1) | Launch Configs: pwa-msedge chrome; ```
Extensions (33) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.0 atlascode|atl|2.10.12 vscode-eslint|dba|2.2.2 gitlens|eam|12.0.7 prettier-vscode|esb|9.5.0 copilot|Git|1.23.5969 vscode-codeql|Git|1.6.6 vscode-pull-request-github|Git|0.42.0 vscode-test-explorer|hbe|2.21.1 vscode-react-typescript|inf|1.3.1 dotenv|mik|1.0.1 vscode-azurefunctions|ms-|1.7.0 vscode-azureresourcegroups|ms-|0.5.0 vscode-docker|ms-|1.22.0 python|ms-|2022.6.2 vscode-pylance|ms-|2022.5.3 remote-containers|ms-|0.234.0 azure-account|ms-|0.10.1 cpptools|ms-|1.9.8 test-adapter-converter|ms-|0.1.6 vscode-js-profile-flame|ms-|1.0.2 vscode-typescript-tslint-plugin|ms-|1.3.4 vsliveshare|ms-|1.0.5595 color-highlight|nau|2.5.0 vscode-thunder-client|ran|1.16.4 vscode-commons|red|0.0.6 vscode-yaml|red|1.7.0 comment-divider|sta|0.4.0 vscode-styled-components|sty|1.7.4 tabnine-vscode|Tab|3.5.50 vscodeintellicode|Vis|1.2.21 JavaScriptSnippets|xab|1.8.0 ReactSnippets|xab|2.4.0
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes627:30244334 pythonvspyl392:30443607 pythontb:30283811 pythonvspyt551:30345470 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30445986 pythondataviewer:30285071 vscod805:30301674 pythonvspyt200:30340761 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 vsc1dst:30438360 pythonvs932:30410667 wslgetstarted:30449410 pythonvsnew555:30457759 vscscmwlcmt:30465135 cppdebug:30492333 vsclangdc:30486549 ```
alitjanjua commented 2 years ago

Btw to let you know more about the origin of this issue, I think it started occurring after the recent update to vs code.

meganrogge commented 2 years ago

can you share your settings.json?

vscodenpa commented 2 years 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!