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

Re: [PATCH] fix for "index-pack: rationalize delta resolution code"

From
MRMarco Roeland <marco.roeland@xs4all.nl>
Date
Oct 20, 2008, 20:12 UTC
Message-ID
<20081020201251.GC22123@fiberbit.xs4all.nl>
In-Reply-To
<alpine.LFD.2.00.0810201601480.26244@xanadu.home>
On Monday Oktober 20th 2008 at 16:04 Nicolas Pitre wrote:
> If you want to make the difference really visible, try with
> 'git repack -a -f --window=100'.
Impressive, yes. Thanks very much.

marco@sirius:~/src/git (next) $ time git repack -a -f --window=100 Counting objects: 85713, done. Compressing objects: 100% (84207/84207), done. Writing objects: 100% (85713/85713), done. Total 85713 (delta 62371), reused 0 (delta 0)

real 1m2.775s user 1m1.848s sys 0m0.176s marco@sirius:~/src/git (next) $ git config pack.threads 0 marco@sirius:~/src/git (next) $ time git repack -a -f --window=100 Counting objects: 85713, done. Compressing objects: 100% (84207/84207), done. Writing objects: 100% (85713/85713), done. Total 85713 (delta 62363), reused 0 (delta 0)

real 0m21.348s user 1m2.948s sys 0m0.432s marco@sirius:~/src/git (next) $ git config --unset pack.threads marco@sirius:~/src/git (next) $ time git repack -a -f --window=100 Counting objects: 85713, done. Compressing objects: 100% (84207/84207), done. Writing objects: 100% (85713/85713), done. Total 85713 (delta 62371), reused 0 (delta 0)

real 1m1.904s user 1m1.476s sys 0m0.184s

This on Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz.
-- 
Marco Roeland
Previous: Nicolas PitreNext: Jeff King
Message 9 of 10 in “fix for "index-pack: rationalize delta resolution code"”
  1. fix for "index-pack: rationalize delta resolution code"Nicolas Pitre, Oct 20, 2008
  2. Harvey HarrisonOct 20, 2008
  3. Harvey HarrisonOct 20, 2008
  4. Marco RoelandOct 20, 2008
  5. Marco RoelandOct 20, 2008
  6. Nicolas PitreOct 20, 2008
  7. Marco RoelandOct 20, 2008
  8. Nicolas PitreOct 20, 2008
  9. Marco RoelandOct 20, 2008
  10. Jeff KingOct 20, 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.