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

Re: git status takes 30 seconds on Windows 7. Why?

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 27, 2013, 20:00 UTC
Message-ID
<7vy5d8lijp.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CA+55aFypcwbLwPLq++AU9FggCKLYkgkuN6i-gOD9pRioH1Dz2g@mail.gmail.com>
Linus Torvalds <torvalds@linux-foundation.org> writes:
Show 8 quoted lines
> On Wed, Mar 27, 2013 at 12:04 PM, Jeff King <peff@peff.net> wrote:
>>
>> Yes, I think that's pretty much the case (though most of my
>> Git-on-Windows experience is from cygwin long ago, where the stat
>> performance was truly horrendous). Have you tried setting
>> core.preloadindex, which should run the stats in parallel?
>
> I wonder if preloadindex shouldn't be enabled by default.
I am surprised that we haven't done so.

Given that we haven't tweaked the parallelism or thread-cost parameters since the inception of the mechanism in Nov 2008, I suspect that we would see praises from some and grievances from other corners of the user base for a while until we find acceptable values for them, but I agree the feature has been in use sufficiently by some people (heh, I just discovered that I don't have it in my config), it can be the default.

Previous: Linus TorvaldsNext: Linus Torvalds
Message 9 of 12 in “git status takes 30 seconds on Windows 7. Why?”
  1. Jim KinsmanMar 27, 2013
  2. Andreas EricssonMar 27, 2013
  3. Konstantin KhomoutovMar 27, 2013
  4. Matthieu MoyMar 27, 2013
  5. Jim KinsmanMar 27, 2013
  6. John KeepingMar 27, 2013
  7. Jeff KingMar 27, 2013
  8. Linus TorvaldsMar 27, 2013
  9. Junio C HamanoMar 27, 2013
  10. Linus TorvaldsMar 27, 2013
  11. John KeepingMar 27, 2013
  12. Duy NguyenMar 28, 2013

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.