[darcs-devel] initial performance measurement of darcs-2

zooko zooko at zooko.com
Wed Jan 23 05:02:35 UTC 2008


Folks:

I just made a quick measurement of darcs-2 performance.

Using darcs 1.0.9 I can do "push -a" to another repo which is  
connected by 802.11g (and which has all the same patches as the  
source repo) in 3.5 s (all measurements are best of four trials), and  
can do a "pull -a" in 12.7 s.

Using darcs 2 with this repo in hashed format and the remote repo in  
old format, push takes 0.15 s and pull takes 0.16 s.

Using darcs 2 with this repo and the remote repo in darcs-2 format,  
push takes 10.7 s and pull takes 17.0 s!


So as far as pushing and pulling when both repos have the same set of  
patches, using hashed format is much faster than using darcs-2 format!


The repo in question is publically available (and chock full of very  
cool source code that you are welcome to use):

http://allmydata.org/source/tahoe/trunk

Regards,

Zooko



More information about the darcs-devel mailing list