[LLVMdev] Git/Svn numbers

Peter Stahlir peter.stahlir at googlemail.com
Tue Dec 4 04:52:42 PST 2007


Don't be afraid, just a few numbers. :)

1. Updating/Getting the source:

svn update from revision 44014 to revision 44570 with
svn update:

real    0m11.464s
user    0m1.180s
sys     0m0.576s

svn checkout with
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm:

real    4m37.414s
user    0m5.756s
sys     0m2.592s

git clone the whole tree with
git clone http://repo.or.cz/r/llvm.git:

real    0m37.250s
user    0m15.097s
sys     0m0.500s

svn checkout clang with
svn co http://llvm.org/svn/llvm-project/cfe/trunk clang:

real    1m34.013s
user    0m0.688s
sys     0m0.348s

git clone the whole clang tree with
git clone http://repo.or.cz/r/clang.git:

real    0m12.698s
user    0m4.832s
sys     0m0.104s

2. Repository size:

svn tree: 98 MB
git tree: 47 MB
Bare git repo: < 10 MB

I just got those numbers because I tried to get LLVM's complete
history with git-svn http://llvm.org/svn/llvm-project/llvm/trunk llvm,
which would last approximately 5 hours (I canceled it after a few minutes).

Then I found http://repo.or.cz/ with llvm and clang git trees.

So, to summarize:
Git clone is seven times faster than svn checkout for
the llvm and clang repositories.
Git repo size is half of svn repo size.

But it seems that there is no full history at repo.or.cz.


More information about the llvm-dev mailing list