Bazaar 2.0 measurements on whygitisbetterthanx
Ian Clatworthy
ian.clatworthy at canonical.com
Thu Oct 15 04:53:15 BST 2009
Ian Clatworthy wrote:
> Hi Scott,
>
> Could you please update http://whygitisbetterthanx.com/ with figures for
> Bazaar 2.0.x? It's a lot more space efficient now and faster at many
> operations as well. See http://bazaar-vcs.org/Benchmarks.
For example, I just downloaded lp:django and ran:
bzr upgrade
rm -rf backup.bzr
rm .bzr/repository/obsolete_packs/*
du -sh .bzr
The size is now 21M. You're reporting 24M for Git and 45M for Bazaar.
> I'm also curious about your "status" figures. The number for Bazaar is
> crazy. The very first status builds a cache. After that, it ought to be
> sub-second speed. Please confirm.
The first status takes 1.9 seconds for me. The second one takes .19
seconds. You're reporting 14.7 seconds! What version of Bazaar is that
and how was it installed? Perhaps the C extensions weren't compiled?
Some other figures I'm seeing (vs your figures in brackets):
* init => 0.27 (vs 0.60) seconds
* tag => 0.16 (vs 1.89) seconds
* log => 1.24 (vs 9.06) seconds
I created a file and timed some other operations as well:
* add => 0.39 (vs 2.38) seconds
* diff => 0.20 (vs 14.25) seconds
* commit => 0.28 (vs 1.14) seconds
I haven't benchmarked branch times but I know Bazaar performs well here
is you're using the git-like shared-tree model - usually under a second.
In summary, Bazaar 2.0 is fast enough for 99% of projects, including
django. Our efficiency is now as good as Git on the majority of projects
as well and well beyond the efficiency of Mercurial.
Ian C.
More information about the bazaar
mailing list