svn-import performance analysis
Jelmer Vernooij
jelmer at samba.org
Tue Dec 2 18:48:19 GMT 2008
I've done some work analysing the critical points in importing from
Subversion using bzr-svn 0.5.
The main culprits appear to be:
* Inventory.copy() (33%)
* Repository.add_revision() (49%) (most of which is spent serialising
the inventory)
While fetching a revision delta, bzr-svn makes a copy of the inventory
of the parent revision and applies the changes it sees to that. It needs
the previous inventory as well to figure out renames and the like in
roundtripped revisions.
I'm at a bit of a loss as to how I can optimize this further. Does
anybody have any ideas? Also, I would expect CHK inventories to be of
help here - is that correct?
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