Git - The integrated source control (Git) is very very slow in the latest version (1.78.x) #183199
Description
Type: Performance Issue
Before, the integrated source control (Git) in VSC is very fast but now it is very very slow. I'm not sure but this seems to happen after I update my VSC to the latest version (1.78.x). I thought that the problem is at my installed "git for Windows" (it worked well before I updated VSC) and updated it to the latest version but nothing changed, I think this is a problem of the latest version of VSC, or maybe at 1 of git extensions I installed but I'm not sure.
Note: If I use git through Git Bash, everything is still fine (fast as it should be)
Here are some log in the git output inside VSC:
2023-05-23 16:46:35.054 [info] > git add -A -- D:\src\zero\main\ASPdotNET-Web-BE-Zero\CompanyEmployees\appsettings.json [27846ms]
2023-05-23 16:48:39.228 [info] > git ls-files --stage -- D:\src\zero\main\ASPdotNET-Web-BE-Zero\CompanyEmployees\appsettings.json [2601ms]
2023-05-23 16:48:39.231 [info] > git ls-tree -l HEAD -- D:\src\zero\main\ASPdotNET-Web-BE-Zero\CompanyEmployees\appsettings.json [2608ms]
2023-05-23 16:48:39.239 [info] > git ls-files --stage -- D:\src\zero\main\ASPdotNET-Web-BE-Zero\CompanyEmployees\appsettings.json [2529ms]
2023-05-23 16:50:24.957 [info] > git ls-tree -l HEAD -- D:\src\zero\main\ASPdotNET-Web-BE-Zero\CompanyEmployees\appsettings.json [105697ms]
2023-05-23 16:50:24.958 [info] > git ls-tree -l HEAD -- D:\src\zero\main\ASPdotNET-Web-BE-Zero\CompanyEmployees\appsettings.json [105701ms]
2023-05-23 16:50:27.984 [info] > git ls-files --stage -- D:\src\zero\main\ASPdotNET-Web-BE-Zero\CompanyEmployees\appsettings.json [65005ms]
2023-05-23 16:50:27.987 [info] > git ls-files --stage -- D:\src\zero\main\ASPdotNET-Web-BE-Zero\CompanyEmployees\appsettings.json [65011ms]
2023-05-23 16:52:58.511 [info] > git add -A -- D:\src\zero\main\ASPdotNET-Web-BE-Zero\CompanyEmployees\appsettings.Development.json [29306ms]
2023-05-23 16:53:44.880 [info] > git fetch [16761ms]
2023-05-23 16:55:37.421 [info] > git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file - [100953ms]
2023-05-23 16:55:43.820 [info] > git show --textconv :CompanyEmployees/appsettings.json [2493ms]
2023-05-23 16:55:43.820 [info] > git show --textconv :CompanyEmployees/appsettings.Development.json [2479ms]
2023-05-23 16:56:12.377 [info] > git pull --tags origin main [31072ms]
2023-05-23 16:56:35.825 [info] > git push origin main:main [23445ms]
Do not know why it took so much time for the basic operations (files in my repo are quite small, nothing big/huge at all)
VS Code version: Code 1.78.2 (b3e4e68, 2023-05-10T14:39:26.248Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: Yes
System Info
Item | Value |
---|---|
CPUs | 12th Gen Intel(R) Core(TM) i5-12400F (12 x 2496) |
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 video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled |
Load (avg) | undefined |
Memory (System) | 31.84GB (13.95GB free) |
Process Argv | --crash-reporter-id e283a491-24a6-4982-a709-f965337f0fd8 |
Screen Reader | no |
VM | 0% |
Process Info
CPU % Mem MB PID Process
0 96 25844 code main
0 91 4200 shared-process
0 71 14160 ptyHost
0 7 23176 console-window-host (Windows internal process)
0 5 25972 "C:\Program Files\Git\bin\bash.exe"
0 11 33292 "C:\Program Files\Git\bin\..\usr\bin\bash.exe"
0 382 18912 extensionHost [1]
0 76 1904 electron-nodejs ("D:\Program Files\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "d:\Program Files\Microsoft VS Code\resources\app\extensions\markdown-language-features\server\dist\node\workerMain" --node-ipc --clientProcessId=18912)
0 78 4436 electron-nodejs ("D:\Program Files\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "d:\Program Files\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=18912)
0 78 9060 electron-nodejs ("D:\Program Files\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\Luat Nguyen\.vscode\extensions\formulahendry.auto-rename-tag-0.1.10\packages\server\dist\serverMain.js" --node-ipc --clientProcessId=18912)
0 125 28156 electron-nodejs ("D:\Program Files\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\Luat Nguyen\.vscode\extensions\streetsidesoftware.code-spell-checker-2.20.4\packages\_server\dist\main.js" --node-ipc --clientProcessId=18912)
0 25 31636 "C:\Program Files\Microsoft\jdk-17.0.7.7-hotspot\bin\java" -DwatchParentProcess=false -XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError "-XX:HeapDumpPath=c:\Users\Luat Nguyen\AppData\Roaming\Code\User\globalStorage\redhat.vscode-xml" -Xmx64M -cp "c:\Users\Luat Nguyen\.vscode\extensions\redhat.vscode-xml-0.25.0-win32-x64\server\org.eclipse.lemminx-0.25.0-uber.jar" org.eclipse.lemminx.XMLServerLauncher
0 6 31916 console-window-host (Windows internal process)
0 556 33392 dotnet.exe "c:\Users\Luat Nguyen\.vscode\extensions\ms-dotnettools.csharp-1.25.7-win32-x64\.omnisharp\1.39.6-net6.0\OmniSharp.dll" -z -s d:\src\zero\main\ASPdotNET-Web-BE-Zero\CompanyEmployees.sln --hostPID 18912 DotNet:enablePackageRestore=false --encoding utf-8 --loglevel information --plugin "c:\Users\Luat Nguyen\.vscode\extensions\ms-dotnettools.csharp-1.25.7-win32-x64\.razor\OmniSharpPlugin\Microsoft.AspNetCore.Razor.OmniSharpPlugin.dll" FileOptions:SystemExcludeSearchPatterns:0=**/.git FileOptions:SystemExcludeSearchPatterns:1=**/.svn FileOptions:SystemExcludeSearchPatterns:2=**/.hg FileOptions:SystemExcludeSearchPatterns:3=**/CVS FileOptions:SystemExcludeSearchPatterns:4=**/.DS_Store FileOptions:SystemExcludeSearchPatterns:5=**/Thumbs.db FileOptions:SystemExcludeSearchPatterns:6=**/.classpath FileOptions:SystemExcludeSearchPatterns:7=**/.project FileOptions:SystemExcludeSearchPatterns:8=**/.settings FileOptions:SystemExcludeSearchPatterns:9=**/.factorypath FormattingOptions:EnableEditorConfigSupport=true Sdk:IncludePrereleases=true formattingOptions:useTabs=false formattingOptions:tabSize=2 formattingOptions:indentationSize=2
0 6 4804 console-window-host (Windows internal process)
0 40 24088 utility-network-service
0 293 24300 window [1] (MAIN-ZERO-ASPdotNET-Web-BE (Workspace))
0 114 24460 gpu-process
0 80 26432 fileWatcher [1]
0 25 26516 crashpad-handler
0 100 30084 window [2] (Issue Reporter)
Workspace Info
| Window (MAIN-ZERO-ASPdotNET-Web-BE (Workspace))
| Folder (ASPdotNET-Web-BE-Zero): 355 files
| File types: cs(129) cache(36) json(22) csproj(9) props(9) targets(9)
| txt(9) editorconfig(9) v2(2) vsidx(2)
| Conf files: csproj(9) sln(1);
Extensions (52)
Extension | Author (truncated) | Version |
---|---|---|
better-comments | aar | 3.0.2 |
Bookmarks | ale | 13.3.1 |
copy-relative-path | ale | 0.0.2 |
All-Autocomplete | Ati | 0.0.26 |
compare-view | che | 0.13.0 |
vscode-better-align | cho | 1.4.2 |
path-intellisense | chr | 2.8.4 |
bracket-select | chu | 2.0.2 |
vscode-structurizr | cia | 0.0.9 |
gitignore | cod | 0.9.0 |
csharp-grammar-extended | dan | 1.1.1 |
githistory | don | 0.6.20 |
xml | Dot | 2.5.1 |
gitlens | eam | 13.6.0 |
LogFileHighlighter | emi | 2.16.0 |
json-tools | eri | 1.0.2 |
auto-close-tag | for | 0.5.14 |
auto-rename-tag | for | 0.1.10 |
auto-using | Fud | 0.7.15 |
copilot | Git | 1.86.82 |
todo-tree | Gru | 0.0.226 |
output-colorizer | IBM | 0.1.2 |
open-file-from-path | jac | 1.3.4 |
vscode-text-pastry | jkj | 1.3.1 |
vscode-peacock | joh | 4.2.2 |
workspace-cacheclean | Mam | 0.0.2 |
render-crlf | med | 1.6.1 |
vscode-filesize | mkx | 3.1.0 |
csharp | ms- | 1.25.7 |
vscode-dotnet-pack | ms- | 1.0.12 |
remote-explorer | ms- | 0.4.0 |
indent-rainbow | ode | 8.3.1 |
material-icon-theme | PKi | 4.27.0 |
vscode-thunder-client | ran | 2.7.1 |
vscode-xml | red | 0.25.0 |
partial-diff | ryu | 1.4.3 |
bracket-jumper | sas | 1.1.8 |
trailing-spaces | sha | 0.4.1 |
svg-preview | Sim | 2.8.3 |
cucumber | ste | 0.14.0 |
code-spell-checker | str | 2.20.4 |
ASPNETCore-VSCode-Extensions | Syn | 21.2.3 |
Blazor-VSCode-Extensions | Syn | 21.2.3 |
c4-dsl-extension | sys | 3.4.1 |
bracket-padder | via | 0.3.0 |
highlight-matching-tag | vin | 0.11.0 |
intellicode-api-usage-examples | Vis | 0.2.7 |
vscodeintellicode | Vis | 1.2.30 |
vscodeintellicode-completions | Vis | 1.0.22 |
vscode-todo-highlight | way | 1.0.5 |
markdown-all-in-one | yzh | 3.5.1 |
json | Zai | 2.0.2 |
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30610678
2e4cg342:30602488
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
showlangstatbar:30737416
vsctsb:30748421
pythonms35:30701012
j16hj152:30706079
ecj1e332:30736112
pythonfmttext:30731395
fixshowwlkth:30730052
pythongtdpathcf:30739705
Activity