bzr-svn performance improvements

Jelmer Vernooij jelmer at samba.org
Wed Mar 26 14:19:11 GMT 2008


bzr-svn 0.4.9 is significantly faster than previous versions. I just
tested this on Python trunk. 

Running 
$ bzr branch https://svn.python.org/projects/python/trunk
I can import about 2.1 revisions per second here, or 127 per minute.

Still not something you'd want to do on a daily basis (about 4 hours for
~35k revisions), but *a lot* faster than what it used to be.

There are two things that can provide further improvements:

* Ian's RevisionLoader
* Avoiding extra overhead serializer the inventory for the sha1 creation
(just merged into trunk, but not used during my benchmark)

Obviously, importing from a local copy of the svn repository is going to
be significantly faster than this.

Cheers,

Jelmer
-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org



More information about the bazaar mailing list