bug? find_branches or find_bzrdir tries to open all files as bzr locations

Aaron Bentley aaron at aaronbentley.com
Thu May 19 12:53:00 UTC 2011


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

On 11-05-18 05:25 AM, Alexander Belchenko wrote:
> bzr colo-branches           ~1.7 sec
> bzr find-branches --native  ~6   sec   (the same for bzr branches)
> bzr find-branches --custom  ~1.6 sec
> 
> Note that colo-branches is only looking for branches inside .bzr/branches.
> 
> So, if I did something wrong I'd like to know what I did wrong.

You are comparing your optimised code against code that hasn't been
optimised.  So it proves that your strategy would be an improvement
compared to the current, unoptimised code, but it doesn't prove that it
would be a win compared with optimising the current strategy.

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

iEYEARECAAYFAk3VEqwACgkQ0F+nu1YWqI0gEACeMYBtHNtSL2xK5j+vcyoyl7SU
iFIAn1JxrUUFEyQyUn7jziOzP1i/YEv2
=1HOY
-----END PGP SIGNATURE-----



More information about the bazaar mailing list