git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: gitk performance questions/issues

From
DTDavid Tweed <david.tweed@gmail.com>
Date
Aug 14, 2007, 11:25 UTC
Message-ID
<e1dab3980708140425r72733f1bn4bc0d2e6cc68fb4c@mail.gmail.com>
In-Reply-To
<18113.12777.164103.302185@cargo.ozlabs.ibm.com>
On 8/14/07, Paul Mackerras <paulus@samba.org> wrote:
> David Tweed writes:
> 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.

Right, I've restored the file of 1915 packed tags (but not the 35 loose tags). Using DNT for "display nearby tags"

DNT on: consistently 11s to window appear, 20s to normal cursor DNT off: consistently 11s to window appear but normal cursor immediately

Regarding getting the diffs, I think that was "user misunderstanding" and I'm doubting if I definitely did click on the blue circles yesterday. Clicking on the any part yellow tag marker displays the SHA of the tag object (which I'd confused with the start of an unfinished commit diff); for some reason I'd thought it would give the diff-with-parent. Clicking on either the blue circle or "commit headline text" does bring up the diff instantly even with the packed refs file. Sorry for the confusion.

> Also, if it's possible to give me a copy of your repo, that would
> help.

I'll privately mail Paul about getting it; if anyone else wants a copy of the repository in order look at startup performance issues mail me. (The most embarassing thing in there is just some astonishingly crap code, but I'd prefer not to blanket publish it.)

-- 
cheers, dave tweed__________________________
david.tweed@gmail.com
Rm 124, School of Systems Engineering, University of Reading.
"we had no idea that when we added templates we were adding a Turing-
complete compile-time language." -- C++ standardisation committee
Previous: Paul Mackerras
Message 5 of 5 in “gitk performance questions/issues”
  1. David TweedAug 13, 2007
  2. Linus TorvaldsAug 13, 2007
  3. David TweedAug 13, 2007
  4. Paul MackerrasAug 14, 2007
  5. David TweedAug 14, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.