From: Nicolas Pitre Date: Tue, 03 Apr 2007 21:28:26 GMT Subject: Re: git-index-pack really does suck.. Message-ID: In-Reply-To: On Tue, 3 Apr 2007, Linus Torvalds wrote: > See my separate timing numbers, although I bet that Chris can give even > better ones.. > > Chris, try applying my patch, and then inside the KDE repo you have, do > > git index-pack --paranoid --stdin --fix-thin new.pack < ~/git/.git/objects/pack/pack-*.pack > > (ie index the objects of the *git* repository, not the KDE one). That > should approximate doing a fair-sized "git pull" - getting new objects. Do > it with and without --paranoid, and time it. Like I said this is bogus since the index-pack is throttled by the network making this overhead a non issue in real life. And like I said there should _not_ be such a memory usage difference which is probably showing potential problems *elsewhere*. > I bet that what I see as a 7% slowdown will be much bigger for you, just > because the negative lookups will be all that much more expensive when you > have tons of objects. And I bet your newton-raphson lookup idea would shine and bring that overhead down considerably in that case. Nicolas