Re: git status takes 30 seconds on Windows 7. Why?
- From
Jeff King <peff@peff.net>
- Date
- Mar 27, 2013, 19:04 UTC
- Message-ID
- <20130327190425.GA26380@sigill.intra.peff.net>
- In-Reply-To
- <20130327184657.GP2286@serenity.lan>
On Wed, Mar 27, 2013 at 06:46:57PM +0000, John Keeping wrote:
> I think the simple reality is that Git was written with the assumption > that stat is cheap and that isn't really the case on Windows, where the > filesystem cache doesn't seem to do that well with this.
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?
-Peff