microsoft / vscode

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

git extension working slow #226236

Closed abdul-alim-PS closed 1 month ago

abdul-alim-PS commented 2 months ago

Type: Bug

git working slow to much time to response

VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z) OS version: Windows_NT x64 10.0.22621 Modes:

System Info |Item|Value| |---|---| |CPUs|12th Gen Intel(R) Core(TM) i7-1265U (12 x 2688)| |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
webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|15.65GB (4.81GB free)| |Process Argv|--open-url --crash-reporter-id 4bcbf2d8-f427-483b-8070-0a39a900dee2 -- vscode://vscode.git/clone?url=https://OSBGroupPLC@dev.azure.com/OSBGroupPLC/osb-mod-app/_git/osb-core-salesforce| |Screen Reader|no| |VM|0%|
Extensions (18) Extension|Author (truncated)|Version ---|---|--- gitlens|eam|15.3.1 remote-containers|ms-|0.380.0 remote-wsl|ms-|0.88.2 material-icon-theme|PKi|5.9.0 LiveServer|rit|5.7.9 salesforce-vscode-slds|sal|1.4.10 salesforcedx-vscode|sal|61.10.0 salesforcedx-vscode-apex|sal|61.10.0 salesforcedx-vscode-apex-debugger|sal|61.10.0 salesforcedx-vscode-apex-replay-debugger|sal|61.10.0 salesforcedx-vscode-core|sal|61.10.0 salesforcedx-vscode-expanded|sal|61.10.0 salesforcedx-vscode-lightning|sal|61.10.0 salesforcedx-vscode-soql|sal|61.10.0 salesforcedx-vscode-visualforce|sal|61.10.0 sfdx-code-analyzer-vscode|sal|1.0.0 sfdx-package-xml-generator|Vig|2.0.11 vscode-java-debug|vsc|0.58.0 (1 theme extensions excluded)
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 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 dsvsc021:30996838 jg8ic977:31013176 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 2f103344:31071589 impr_priority:31102340 refactort:31108082 pythonrstrctxt:31112756 wkspc-onlycs-c:31111717 ei213698:31121563 ```
lszomoru commented 2 months ago

Does the performance improve if you set the scm.showHistoryGraph setting to false?

laukondrup commented 2 months ago

I think I'm having the same issue. Git is not updating the "Changes" tab without me manually clicking refresh both with or without scm.showHistoryGraph enabled. Definitely a recent regression

lszomoru commented 2 months ago

Does it resolve the issue if you set typescript.tsserver.experimental.useVsCodeWatcher to false?

laukondrup commented 2 months ago

Does it resolve the issue if you set typescript.tsserver.experimental.useVsCodeWatcher to false?

Yes, that fixes it!

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!