git pull, push seems slow. Seems to be related to GCM get & store #1258
Replies: 2 comments
-
@exbuzz, thanks for the detailed logs! Looking at the trace, you are correct.. the ~10s startup time is strange.
I assume you are running on a corporate owned/managed device? Do you know if there are any firewall or anti-virus rules or programs running that may be interfering with GCM starting up? Possibly some sort of scan on each process launch? |
Beta Was this translation helpful? Give feedback.
-
Ok. I think I found the problem. It could be a real issue. I am working on a project must meet FIPS 140-2 validation requirements. We have had "FIPS mode" enabled on our lab sever for integration testing. At some point I enabled it on my dev box, just to make sure we caught any issues like that as early as possible. "What could be the harm...?" As part of trying to get to the bottom of this issue, I tried running "C:\Program Files\Git\mingw64\bin\git-credential-manager" directly (with no arguments). The experience was:
This all seem expected to me. And that 8 second startup time seemed like a possible contributing factor to my issues. Then, I disabled FIPS mode. That command now runs instantly without delay. So I went back and did my pull...now 1.13 seconds down from ~40 seconds.... |
Beta Was this translation helpful? Give feedback.
-
I hope I'm posting this in the right place. I've tried clearing my credentials and reinstalling git. Has not helped. I am pulling my hair out here.
Any push or pull (or fetch, etc.) takes at least 40 seconds. The worst part seems to be two run_command: git-credential-manager calls which alone total over 20 seconds.
I am interacting w/ a Azure DevOps repo using my corporate AD credentials. I'm on windows 11. Same behavior in multiple repos using multiple clients (command line, Visual Studio, tortoise git).
Please see the attached trace gcm-diagnose2.txt.
To highlight the issue, ten seconds elapse between the first two lines:
And about the same amount of time here:
I found this similar discussion, but I didn't understand the answer and it also doesn't seem 100% related to my problem: #1169
Beta Was this translation helpful? Give feedback.
All reactions