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

Re: Benchmarks regarding git's gc

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Nov 8, 2011, 14:37 UTC
Message-ID
<CACsJy8DMAdjT8gsoSerkzNRvHgdcBWLaUd+-xHqXkV+hceo9rA@mail.gmail.com>
In-Reply-To
<CAMP44s3E-YCMQQzJAU2wjjD-adpNy6bGb-=iUQ=p=bFTWxm+Ng@mail.gmail.com>

On Tue, Nov 8, 2011 at 6:34 PM, Felipe Contreras <felipe.contreras@gmail.com> wrote:

> Has anybody seen these?
> http://draketo.de/proj/hg-vs-git-server/test-results.html#results
>
> Seems like a potential area of improvement.

The proportion between time and commits may have something to do with reachability test, where we traverse all commits and trees (I think twice in git-gc, one when it runs "reflog expire" and one "prune"). packv4 is supposed to make tree traversing faster. Although it'd be best if we could avoid this test.

-- 
Duy
Previous: Felipe ContrerasNext: Felipe Contreras
Message 2 of 7 in “Benchmarks regarding git's gc”
  1. Felipe ContrerasNov 8, 2011
  2. Nguyen Thai Ngoc DuyNov 8, 2011
  3. Felipe ContrerasNov 8, 2011
  4. Brandon CaseyNov 8, 2011
  5. Jeff KingNov 8, 2011
  6. David Michael BarrNov 9, 2011
  7. Michael HaggertyNov 9, 2011

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.