Re: gitk performance questions/issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
-
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux