Re: [PATCH 0/7] cat-file --batch-check performance improvements
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 12, 2013, 17:23 UTC
- Message-ID
- <7vy59blmjt.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20130712061533.GA11297@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> The results for running (in linux.git): > > $ git rev-list --objects --all >objects > $ git cat-file --batch-check='%(objectsize:disk)' <objects >/dev/null
I can see how these patches are very logical avenue to grab only on-disk footprint for large number of objects, but among the type, payload size and on-disk footprint, I find it highly narrow niche that a real user or script is interested _only_ in on-disk footprint without even worrying about the type of object.
> ... (though I think the result actually cleans up the > sha1_object_info_extended interface a bit, and is worth it).
I tend to agree, especially eyeballing the result of 7/7.
Thanks.