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

Re: Benchmarks regarding git's gc

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Nov 8, 2011, 16:28 UTC
Message-ID
<CAMP44s04B0vbecFb0JXmvnBX81A5q-m4ZAab8AxPpCjHpQvQKg@mail.gmail.com>
In-Reply-To
<CACsJy8DMAdjT8gsoSerkzNRvHgdcBWLaUd+-xHqXkV+hceo9rA@mail.gmail.com>
On Tue, Nov 8, 2011 at 4:37 PM, Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote:
Show 12 quoted lines
> 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.
Is there someone working on a way to avoid this test?
-- 
Felipe Contreras
Previous: Nguyen Thai Ngoc DuyNext: Brandon Casey
Message 3 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.