Re: Fast enumeration of objects

2015-06-22 Thread Junio C Hamano
Jeff King writes: > ... > So my conclusions are: > > 1. Yes, the pipe/parsing overhead of a separate processor really is > measurable. That's hidden in the wall-clock time if you have > multiple cores, but you may care more about CPU time. I still think > the flexibility is worth

Re: Fast enumeration of objects

2015-06-22 Thread Jeff King
On Sun, Jun 21, 2015 at 08:20:30PM +0100, Charles Bailey wrote: > I performed some test timings of some different commands on a clone of > the Linux kernel which was completely packed. Thanks for timing things. I think we can fairly easily improve a bit on what you have here. I'll go through my f

Fast enumeration of objects

2015-06-21 Thread Charles Bailey
This is a re-casting of my previous filter-objects command but without any of the filtering so it is now just "list-all-objects". I have retained the "--verbose" option which outputs the same format as the default "cat-file --batch-check" as it provides a useful performance gain to filtering thoug