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

Re: very slow "git gc --aggressive" in GIT-1.6.4.4

From
MAMichael Andreen <harv@ruin.nu>
Date
Sep 18, 2009, 19:56 UTC
Message-ID
<200909182156.56587.harv@ruin.nu>
In-Reply-To
<ee2a733e0909181223j1ffc99edkdb3700adb37fa147@mail.gmail.com>
On Friday 18 September 2009 21:23:59 Leo Razoumov wrote:
Show 5 quoted lines
> I noticed that "git gc --agressive" takes 5 times longer with
> git-1.6.4.4 than with git-1.6.2.5.
> 
> Below are benchmarks on my Linux Ubuntu-9.04 laptop (Core2 Duo 2.54GHz).
> As a test repo I use a mirror of the official GIT upstream.

git-1.6.3 and later changed the settings for --aggressive to window=250 and depth=250, which produces a tighter pack. The earlier setting wasn't really aggressive.

/Michael
Previous: Leo Razoumov
Message 2 of 2 in “very slow "git gc --aggressive" in GIT-1.6.4.4”
  1. Leo RazoumovSep 18, 2009
  2. Michael AndreenSep 18, 2009

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.