Repository.add_revision() performance regression

Robert Collins robertc at robertcollins.net
Thu Jun 12 06:31:19 BST 2008


On Thu, 2008-06-12 at 14:39 +1000, Ian Clatworthy wrote:
> 
> I've hacked around this in bzr-fastimport but it *may* still
> be affecting other some operations, e.g. imports via
> other plugins (like bzr-svn), commit and perhaps fetching via
> pull, etc.
> 
> I don't have a proposal for improving this yet - I approved
> the patch that made the change so I know why it's important.
> I did want to mention it though in case others are seeing
> 1.5 being slower on certain operations, particularly imports,
> than 1.4.

This changes in VersionedFiles somewhat; we can probably just tune the
logic there. ( in particular, passing the inventory into add_revision
rather than doing it in two steps is not a hack and should improve
things)

-Rob



GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080612/374020e3/attachment.pgp 


More information about the bazaar mailing list