[MERGE] 40% faster partial commits

Robert Collins robertc at robertcollins.net
Thu Sep 20 08:31:12 BST 2007


On Thu, 2007-09-20 at 10:29 +0300, Alexander Belchenko wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Robert Collins пишет:
> > This makes partial commits walk much less data, with approximately 40%
> > increase in speed.
> > 
> > The basic approach is to use the iter_entries_by_dir specific_file_ids
> > parameter, after tweaking it to optionally match the behaviour wanted by
> > commit.
> 
> bb:comment
> 
> Partial commit has serious bug: https://bugs.launchpad.net/bugs/140419
> Does your patch handle this case?

I'm aware of the bug; I don't know. I'm currently on an optimisation
pass for incremental commit, this patch basically makes the real speed
hogs more visible for me.

I suggest that the test case for that bug be added as XFAIL, then we can
see if we fix it more easily.

-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/20070920/2a5fe1b5/attachment.pgp 


More information about the bazaar mailing list