Re: [PATCH] fast-export: ensure we traverse commits in topological order
On Wed, Feb 11, 2009 at 08:23:22AM -0700, Elijah Newren wrote:
> I'm a little surprised why my numbers were so much lower than yours,
> though. I don't think of my hard drive and CPU as being all that
> quick -- is this a difference in packing, by chance, with your
> repository not having recently been repacked?
I don't think the hard drive matters much at all; the CPU is pegged the whole time. I'm not fully packed, but almost so. I suspect it is a combination of:
1. I compile git with "-g" and no optimizations to make debugging
easier. 2. My system sucks. It is a 1.8GHz dual Athlon from around 2003.
fast-export should be pretty memory intensive, which I'm sure is
saturating my totally rocking 266MHz FSB.Just for fun, I tried:
- fully repacking; no change
- compiling with -O2; shaved off about 2s. Not too surprising;
previous profiling has shown that git spends a lot of time in zlib,
and I am dynamically linking against an optimized version.So I think it is mainly (2) above, assuming your machine sucks a lot less than mine.
-Peff