[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Subversion/Perforce timing statistics

From: Joshua Jensen <jjensen_at_workspacewhiz.com>
Date: 2002-05-25 10:07:49 CEST

As part of my personal tests of Subversion, I have done some timing
tests. Note that my background for years was SourceSafe (blech), then
some CVS work (I'll keep my comments to myself), off to Perforce for a
while (mostly heaven there, IMO), and now I'm inspecting Subversion.

All operations are performed using the following directory using a BRAND
NEW repository on an Athlon 1.4ghz Windows XP Professional machine with
7200 rpm hard drives and 512 mb RAM and 98% CPU time available. The
Perforce statistics are using the free Perforce 2-user server available
on their website.

14 binaries
172 text files
53 dirs
919kb total disk space

Adding to database
svn import file:///e:/svn/repos TestDir *** 33 seconds ***

The database is 4 megs. That seems excessive. Another test database of
40 megs of text files yielded a 60 meg footprint.

Perforce: *** 3 seconds ***

First time retrieval from repository
svn co file:///e:/svn/repos *** 12 seconds ***

Perforce: p4 sync ... *** <2 seconds ***

Grabbing the latest updates from repository (there are none)
svn update = 2-3 seconds

Perforce: p4 sync ... *** INSTANT ***

Deleting a file
svn delete File.zip (215k) *** INSTANT ***
svn commit *** 2 seconds ***

p4 delete File.zip (215k) *** INSTANT ***
p4 submit *** INSTANT ***

Modify two files (just put some whitespace in them)
svn commit *** 4 seconds ***

p4 edit File1.txt
p4 edit File2.txt
Modify them
p4 submit *** INSTANT ***


These are the only timed tests I have done thus far. I make comparisons
with Perforce, because I believe Perforce is the closest thing to
Subversion (albeit much more mature and with some really cool features).
Nonetheless, Perforce is commercial, and not everything I would like to
put in a public Perforce server fits into their Open Source license (and
there's NO WAY I can afford their pricing). That's why I'm so
interested in Subversion and improving upon it.

I understand Subversion is pre-alpha. I understand it will get even
better, and its performance will improve. But for the figures above, am
I doing something wrong?

Joshua Jensen

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 25 10:09:33 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.