Re: how to speed up "git log"?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 11, 2007, 23:08 UTC
- Message-ID
- <Pine.LNX.4.63.0702120003450.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20070211230035.GD31488@spearce.org>
Hi,
On Sun, 11 Feb 2007, Shawn O. Pearce wrote:
Show 8 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > > 1) Why so much user CPU time? > > > > See above. > > Some of the ideas Nico and I have kicked around for a pack v4 (post > 1.5.0, obviously) would speed up revision traversal by bypassing > some of the costly decompression overheads.
Maybe. But my point (which you did not quote) was this: git log _starts_ very fast, and the information you are most likely after is shown right away. So I don't think it makes sense investing much time to enhance performance for a full log.
Show 6 quoted lines
> > > 2) Why so much system CPU time, but only on MacOS X? > > > > Probably the mmap() problem. Does it go away when you use git 1.5.0-rc4? > > What does 1.5.0-rc4 do here that didn't happen before? Are you > referring to the mmap sliding window?
No. I was referring to v1.5.0-rc0~62, but was too lazy to look that up.
Ciao, Dscho