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

Aaron Bentley aaron at aaronbentley.com
Tue Mar 18 02:22:03 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
> 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.

My experience is that avoiding repeating the same node lookup is a
significant performance win.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH3ydL0F+nu1YWqI0RAh6pAJ9vtnvRLHnBj6vcObFYzIjefiGWvwCfT4f2
Kub0GOF+taUsmnw/paXUQE8=
=xVlK
-----END PGP SIGNATURE-----



More information about the bazaar mailing list