Re: [PATCH] fix for "index-pack: rationalize delta resolution code"
From: Marco Roeland <hidden>
Date: 2016-06-15 22:45:30
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