I've done an lsprof, and it seems to not be the has_version() check that I thought it was.
Looking at the profile, it appears to be 16 'BranchStore.get_branch' calls, which have 16 associated get_branch_parts calls which then spends 62% of the time in Branch.open() and 38% of the time in _branch_location.
both of those times seem surprisingly slow given that it should be re-using the bzr connection, and the profile is running on Jubany, which should have very low latency to the codehosting machine.
I've done an lsprof, and it seems to not be the has_version() check that I thought it was.
Looking at the profile, it appears to be 16 'BranchStore. get_branch' calls, which have 16 associated get_branch_parts calls which then spends 62% of the time in Branch.open() and 38% of the time in _branch_location.
both of those times seem surprisingly slow given that it should be re-using the bzr connection, and the profile is running on Jubany, which should have very low latency to the codehosting machine.