From: Julian Phillips Date: Wed, 02 May 2007 09:51:34 GMT Subject: Re: Git benchmarks at OpenOffice.org wiki Message-ID: In-Reply-To: <200705020955.04582.andyparkins@gmail.com> On Wed, 2 May 2007, Andy Parkins wrote: > On Tuesday 2007 May 01, Jakub Narebski wrote: > >> In 'Size of data on the server' git has CVS beat hands down: 1.3G vs >> 8.5G for sources, 591M vs 1.1G for third party. I think it is similar >> for Subversion. I hope that repository is fully packed: IIRC the Mozilla >> CVS repository import was about 0.6GB pack file, not 1.3GB. > > I'm fairly sure it's not. If so that would also affect the speed of > operations wouldn't it? A fully packed clone of the OOo git repo was indeed 1.3G, and the entrire checkout + repo was indeed 8.5G (using git 1.5.1.2). Took about 46m to clone on a server with decent bandwith, ~5.5m user time, ~1.5m system. > > I also doubt the subversion checkout size - subversion keeps a pristine copy > of the HEAD file - so a subversion checkout is usually over twice the size of > the source tree. > >> takes 3min (!) according to the benchmark. 13-25sec for commit is also >> bit long > > I wonder if they are measuring the time for the generation of the commit > message or something? Or perhaps by using "git-commit -a" is causing a check > of the whole tree for changed files? > >> Comparison / benchmark lacks some crucial info, like what computer was >> used (CPU, RAM, HDD), what filesystem was used, git version etc. It >> does have commands used for tests (benchmarks). > > I'd also like to see some of the numbers for the other systems, I tried to use > subversion with the linux kernel once and got fed up waiting for it to do > anything. I suspect the reason numbers aren't shown for the others is that > they haven't finished yet :-) > >> Could you confirm (or deny) those results? go-oo.org uses git 1.4.3.4; >> was there some improvement or bugfix related to the speed of checkout? > > Wasn't there a recent change that made repacking after a clone unnecessary? > That would certainly reduce the checkout size. Not from the numbers that are quoted it won't, they are fully packed sizes. -- Julian --- "Do you have blacks, too?" George W. Bush To Brazilian president Fernando Cardoso November 8, 2001 Washington, D.C.