On Tuesday December 19th 2006 at 03:32 Shawn Pearce wrote: > > Anyway, try the pread() version first, see if that fixes the OS X problem. > > It does. Without pread() (aka stock 'next') it takes me over an > hour to index a pack of linux-2.6. With pread() its 1m6s to run > index-pack on the same pack file. The indexes are (of course) > identically produced. I see the same here. From an (estimated) time of 37 minutes down to 52 seconds with the pread() patch. Running the profiler (shark) on the old version showed that 85% of the time was spent in the Mac OS X mmap() system call. -- Marco Roeland - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html