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

Re: jgit performance update

From
Jakub Narebski <jnareb@gmail.com>
Date
Dec 3, 2006, 14:19 UTC
Message-ID
<ekumdo$imo$1@sea.gmane.org>
In-Reply-To
<200612031455.48032.robin.rosenberg.lists@dewire.com>
Robin Rosenberg wrote:
Show 18 quoted lines
> söndag 03 december 2006 05:59 skrev Shawn Pearce:
>
>> With the help of Robin Rosenberg I've been able to make jgit's log
>> operation run (on average) within a few milliseconds of core Git.
>>
>> Walking the 50,000 most recent commits from the Mozilla trunk[1]:
>>
>>   $ time git rev-list --max-count=50000 HEAD >/dev/null
>>
>>   core Git:  1.882s (average)
>>   jgit:      1.932s (average)
>>
>>   (times are with hot cache and from repeated executions)
> Nice indeed. That was a ten-fold improvement for getting my full history. 
> 
> So, just go on to the next case. I added filtering on filenames (yes, 
> CVS-induced brain damage, I should track the content. next version. filenames 
> are so much handier to work with).

Git uses <path> as _revision limiter_, not as output filter. Shouldn't jgit do the same?

P.S. What is the status of --follow option?
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Robin RosenbergNext: Robin Rosenberg
Message 3 of 16 in “jgit performance update”
  1. Shawn PearceDec 3, 2006
  2. Robin RosenbergDec 3, 2006
  3. Jakub NarebskiDec 3, 2006
  4. Robin RosenbergDec 3, 2006
  5. Shawn PearceDec 3, 2006
  6. Shawn PearceDec 3, 2006
  7. Linus TorvaldsDec 3, 2006
  8. Jakub NarebskiDec 3, 2006
  9. Juergen StuberDec 3, 2006
  10. Robin RosenbergDec 3, 2006
  11. Jakub NarebskiDec 3, 2006
  12. Shawn PearceDec 4, 2006
  13. Juergen StuberDec 4, 2006
  14. Shawn PearceDec 3, 2006
  15. sfDec 3, 2006
  16. Shawn PearceDec 3, 2006

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.