Re: git performance
- Date: Wed, 22 Oct 2008 16:36:25 -0400
- From: Jeff King <peff@xxxxxxxx>
- Subject: Re: git performance
On Wed, Oct 22, 2008 at 04:17:16PM -0400, Edward Ned Harvey wrote:
> So - I didn't see anything out there saying "git is fast because it
> uses inotify" or anything like that. Perhaps git would not help me at
> all? Because git still needs to stat all the files in the tree?
Yes, it does stat all the files. How many files are you talking about,
and what platform? From a warm cache on Linux, the 23,000 files kernel
repo takes about a tenth of a second to stat all files for me (and this
on a several year-old machine). And of course many operations don't
require stat'ing at all (like looking at logs, or diffs that don't
involve the working tree).
-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html