Re: [PATCH 0/5] Using index-pack in place of verify-pack
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 28, 2011, 19:50 UTC
- Message-ID
- <7v39n8hrbp.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20110228165827.GB24915@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 20 quoted lines
> I'm not at all interested in this topic, but in the time it took the two > of you to write your emails, I did this: > > $ cd linux-2.6 > > $ time git verify-pack \ > .git/objects/pack/pack-36c50f6082df404c26a699f2702946e0cce6208f.idx > real 2m37.338s > user 2m35.874s > sys 0m1.348s > > $ time git index-pack --verify \ > .git/objects/pack/pack-36c50f6082df404c26a699f2702946e0cce6208f.pack > real 1m37.208s > user 1m36.106s > sys 0m1.048s > > > OK, with the CPU time it probably took longer than your emails. But I > ate some ice cream while it computed. :)
I guess my box is showing its age. It is 2m34s vs 3m25s for the kernel repository packed with depth=50 (the default).
A pack created with insanely deep depth of course shows larger difference (2m31s vs 4m38s for the same repository repacked with depth=8192).