SVNvsCVS

Some benchmarks (on localhost):
=== Convert tree from CVS to SVN fsfs ===
 cvs2svn Statistics:
 ------------------
 Total CVS Files: 3862
 Total CVS Revisions: 42986
 Total Unique Tags: 48
 Total Unique Branches: 6
 CVS Repos Size in KB: 207184
 Total SVN Commits: 10451
 First Revision Date: Mon Mar 9 05:25:47 1998
 Last Revision Date: Sat May 7 11:58:04 2005
 ------------------
 Timings:
 ------------------
 pass 1: 307 seconds
 pass 2: 41 seconds
 pass 3: 1 second
 pass 4: 57 seconds
 pass 5: 152 seconds
 pass 6: 2 seconds
 pass 7: 7 seconds
 pass 8: 12695 seconds
 total: 13265 seconds ~ 3h:41m
=== Checkout CVS HEAD in full ===
$ time svn -q co file:///home/freeciv/repos/freeciv/trunk
;real
:2m13.914s
;user
:1m16.340s
;sys
:0m12.530s
----
$ time cvs -Q -d /home/freeciv/CVS co freeciv
;real
:0m18.136s
;user
:0m3.120s
;sys
:0m3.490s
Result: CVS is 7x faster.
=== Checkout CVS S2_0 in full ===
$ time svn -q co file:///home/freeciv/repos/freeciv/branches/S2_0
;real
:2m50.758s
;user
:1m26.920s
;sys
:0m18.550s
----
$ time cvs -Q -d /home/freeciv/CVS co -r S2_0 freeciv
;real
:10m38.951s !
;user
:9m35.050s
;sys
:0m8.230s
Result: CVS is 3x slower.
In short, SVN seems to take sensibly the same time regardless of which
branch you are working on, while CVS is incredibly slow when working on
anything but HEAD. But for HEAD it is faster.
Going to test update speed next, maybe some remote tests as well.
Category:Source code repository