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

Re: faster egit history page and a pure java "gitk"

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 26, 2008, 04:52 UTC
Message-ID
<20080326045244.GH4759@spearce.org>
In-Reply-To
<47E9A8BE.4010606@intelinet.com.br>
"Roger C. Soares" <rogersoares@intelinet.com.br> wrote:
Show 12 quoted lines
> Shawn O. Pearce escreveu:
> >Hmm.  How long does C Git take for "git rev-list HEAD >/dev/null" ?
> >I have thus far only tuned the lower level machinary, and there
> >may still be tuning left there, but I _really_ have not tried to
> >tune the plotting portion yet.
> >
> >I did push something out a few minutes ago (b66eae Limit the number
> >of UI refreshes ...) that may help improve performance on larger
> >histories.
>  
> "git rev-list HEAD >/dev/null" returns very fast, around 1 sec I'd say. 
> My git clone has 0 loose objects and 1 pack.
OK, so its well packed and C Git behaves nicely.  :)
> I updated from your repo some minutes ago and it's pretty decent now. 
> The history appears very fast, even changing projects, and for the git 
> clone the progress bar disapears in around 7 seconds. :)

So it must have been the massive flurry of UI updates that I used to be doing during revision walking. I backed it off to at most 4 times per second, which seems to help.

FWIW I just pushed another update out:
 * re-activates the old preferences for hiding/showing the commit
   message and file list;
 * word wrap setting for the comment viewer area;
 * saves the geometry (split pane positions) of the history page
   in a hidden preference;
 * copy and select all global actions (Edit->Copy aka Ctrl-C) now
   works to copy:
     - selected text in comment area;
	 - selected path names in the file list;
	 - commit SHA-1s of selected commits in DAG;
 * the window cache is now managed by Eclipse workspace settings
   when inside Eclipse;
 * the window cache now defaults to 8k/10m/10m/no-mmap as that is
   working very well for me on multiple systems;
 * global workspace preferences (Team -> Git) now shows the history
   preferences and the window cache settings
-- 
Shawn.
Previous: Roger C. Soares
Message 16 of 16 in “faster egit history page and a pure java "gitk"”
  1. Shawn O. PearceMar 24, 2008
  2. Roger C. SoaresMar 24, 2008
  3. Robin RosenbergMar 24, 2008
  4. Shawn O. PearceMar 25, 2008
  5. Roger C. SoaresMar 25, 2008
  6. Robin RosenbergMar 24, 2008
  7. Shawn O. PearceMar 25, 2008
  8. Robin RosenbergMar 24, 2008
  9. Shawn O. PearceMar 25, 2008
  10. Roger C. SoaresMar 25, 2008
  11. Shawn O. PearceMar 25, 2008
  12. Shawn O. PearceMar 25, 2008
  13. Roger C. SoaresMar 25, 2008
  14. Robin RosenbergMar 25, 2008
  15. Roger C. SoaresMar 26, 2008
  16. Shawn O. PearceMar 26, 2008

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.