[MERGE] Quick hack to do batching in InterDifferingSerializer. Almost halves the HPSS round-trips fetching pack-0.92-subtree to 1.9-rich-root.
andrew.bennetts at canonical.com
Mon Nov 17 06:59:38 GMT 2008
This is a patch that John and I came up with at the sprint last week. We
noticed that there was a lot of inefficiency in InterDifferingSerializer due
to fetching single items at a time. This change fetches revisions, trees
and signatures in batches of 100 which is a bit crude but helps quite a lot.
This is inspired by Inter1and2Helper, which batches by 100 in
There's still more improvements could be made, in _install_revisions, but
this change is fairly simple and self-contained. As the subject line says,
it fixes about half of the network round-trips when fetching a
pack-0.92-subtree branch to 1.9-rich-root, and presumably also for any other
combination that uses InterDifferingSerializer.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4452 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20081117/fedced8f/attachment.bin
More information about the bazaar