bug? find_branches or find_bzrdir tries to open all files as bzr locations
Aaron Bentley
aaron at aaronbentley.com
Thu May 19 14:04:42 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11-05-19 09:11 AM, Alexander Belchenko wrote:
> Aaron Bentley пишет:
>> 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.
>
> What kind of optimization do you have in mind?
I imagine the Branch code is doing more filesystem calls than it is
supposed to be doing, so I'd run strace to see how many calls we're
actually getting. If that didn't explain it, I'd try running with
- --lsprof-file, and figuring out why opening branches is taking so long.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk3VI3oACgkQ0F+nu1YWqI0QUQCgiSxinMK8QTu4BuI52e0MKqFR
eYQAn0nL1sjyvApqCGDCa6ji5yfv9Kj5
=tWok
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list