From: Paul Mackerras Date: Tue, 14 Aug 2007 04:39:05 GMT Subject: Re: gitk performance questions/issues Message-ID: <18113.12777.164103.302185@cargo.ozlabs.ibm.com> In-Reply-To: David Tweed writes: > Thinking about it, I suppose even if you're only looking at the last > 256 commits you've got to look through all the tags to see whether > or not they refer to something within that window, so it's not > unreasonable for it to affect startup time. Gitk uses a Tcl associative array for that, which should be very fast. Could you try this: go to the Edit->Preferences window and turn off "Display nearby tags". Then with your ~2000 refs in place, see how long gitk takes to start up and to display a diff. If doing that makes it fast, then I suspect that my topology caching patch will also help. That's waiting on an answer from Junio or Linus to my question about making git rev-list ignore negated non-existent refs. Also, if it's possible to give me a copy of your repo, that would help. Paul.