git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git super slow on Windows 7

From
Lars Schneider <larsxschneider@gmail.com>
Date
Nov 25, 2015, 18:42 UTC
Message-ID
<0B47434E-00FE-463A-95F1-1F10537C9F7A@gmail.com>
In-Reply-To
<EEA07A84-26D8-4709-97AC-2C4F3A0CC5BD@gmail.com>

After some investigation I figured that ~50 Submodules are the culprit. Does anyone have an idea how to speed up Git on Windows while keeping 50 Submodules?

Thanks, Lars

Show 31 quoted lines
> On 25 Nov 2015, at 13:35, Lars Schneider <larsxschneider@gmail.com> wrote:
> 
> Hi Johannes,
> 
> I am working with Git for Windows right now and it is dramatically slower than on OS X.
> I executed "time git status" on Windows and OS X with the same repository and the following results:
> 
> ## Windows git version 2.6.3.windows.1 (with enabled experimental flag on install):
> real    0m1.327s
> user    0m0.000s
> sys     0m0.015s
> 
> 
> ## OS X git version 2.4.9 (Apple Git-60):
> git status  0.06s user 0.13s system 102% cpu 0.186 total
> 
> 
> Initially it was even slower on Windows (~1.6s). According to [1] I used the following settings to make it faster:
> $ git config --global core.preloadindex true
> $ git config --global core.fscache true
> 
> Is this behavior normal/expected?
> If it is not normal, how would you debug the issue? How can I find out why it is so slow?
> 
> My user drive is not on a net share and the machine has a SSD.
> 
> Thanks,
> Lars
> 
> 
> [1] http://stackoverflow.com/questions/4485059/git-bash-is-extremely-slow-in-windows-7-x64
Previous: Lars SchneiderNext: Stefan Beller
Message 2 of 5 in “Git super slow on Windows 7”
  1. Lars SchneiderNov 25, 2015
  2. Lars SchneiderNov 25, 2015
  3. Stefan BellerNov 25, 2015
  4. Duy NguyenNov 25, 2015
  5. Stefan BellerNov 25, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.