Bazaar-NG vs. Mercurial -- speed comparison

Robey Pointer robey at lag.net
Thu May 18 07:37:01 BST 2006


On 12 May 2006, at 23:44, John A Meinel wrote:

> Diwaker Gupta wrote:
>> Bryan Sullivan (of Mercurial) recently posted this benchmark:
>> <http://lists.freestandards.org/pipermail/lsb-futures/2006-May/ 
>> 002080.html>
>
> I wanted to post a little bit of a rebuttal to this. But first I would
> like to say that Mercurial really does show off as a fast little  
> system.

Sounds like a good time to bring the lsprof branch up to date!

I've now done so and its new home is here:
	http://www.lag.net/~robey/code/bzr.dev.lsprof/

Using that branch, I did a sample "bzr branch" of bzr.dev from my  
local repository to a non-repo folder (forcing it to copy revisions),  
and posted the results here, for the curious:
	http://www.lag.net/~robey/code/local-branch.html

The script I used to generate HTML from the lsprof output is here:
	http://www.lag.net/~robey/code/lsprof-html.py


> In a local network, this is what I get:
>
> $ time hg clone http://juju.arbash-meinel.com:8000/
> real    0m18.448s  user    0m5.906s   sys     0m4.346s
>
> $ time bzr get http://bzr.arbash-meinel.com/mirrors/bzr/bzr.dev/ http
> real    1m49.052s  user    0m34.059s  sys     0m10.676s
>
> $ time bzr get sftp://juju/srv/bzr/public/mirrors/bzr/bzr.dev/ sftp
> real    1m41.964s  user    0m36.068s  sys     0m10.979s
>
> So bzr still needs to do some catching up, but in a local network  
> it is
> only 6x slower. (Honestly I thought sftp would spank http, I don't  
> know
> whether this is good or bad :)

I'm curious why you thought that, by the way...

robey





More information about the bazaar mailing list