'bzr branch -r -XXX foo bar' slow for long histories

Robert Collins robertc at robertcollins.net
Mon Mar 17 23:39:05 GMT 2008


On Sun, 2008-03-16 at 14:13 +0000, John Arbash Meinel wrote:
> 
> It also has the problem that our KnitPackRepositories don't cache any
> parent information (I have a hack for maintaining the
> CachingParentsProvider), which means it has to go back to the Index
> each
> time.

The index caches the parents though; and it should not be bisecting on a
lookup of a found key. If it is, then I think its paying a high
miss-cost on the indices without the key. A trivial LRFound cache in the
combining index provider will likely massively reduce this overhead.

-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/20080318/f2144269/attachment.pgp 


More information about the bazaar mailing list