Windows – Git is extremely slow on Windows

gitperformancewindows 10

I'm not sure what have been changed, but my Git installation started to be extremely slow on an average-sized repository. Others use Git with the same repository on similar machines.

Various commands working with local files are slow, e.g. status & commit. push is fast.

Windows 10, Git 2.11.0 64 bit, high CPU consumption.

Typical problems and solutions already ruled out:

  • Antivirus
  • Network drive
  • core.fscache

time git status (from git-bash aka MinGW):

real    0m29.017s
user    0m0.015s
sys     0m0.031s

Tracing performance with GIT_TRACE_PERFORMANCE=true git status unfortunately has shown only a single atomic chunk:

performance: 32.583549907 s: git command: git status

Best Answer

This Stack Overflow post worked for me: Git Bash (mintty) is extremely slow on Windows 10 OS

Old question, I know, but I recently encountered the problem and found the answer - so thought I'd proliferate. Essentially, it was an issue with the AMD Radeon Graphics Driver slowing down mintty. Go to Device Manager, and disable AMD Radeon Graphics in favor of Intel Integrated Graphics. I've tried to find out why, but no luck so far.

Related Question