[RFC][DRAFT] Updated guide for upgrading to rich-roots [and the 2.0 beta formats]

Alexander Belchenko bialix at ukr.net
Mon Jun 15 10:34:06 BST 2009


John Arbash Meinel пишет:
> Alexander Belchenko wrote:
>> Alexander Belchenko пишет:
>> But something is bad with 2a. Branching without shared repo is slower
>> with 2a.
>>
>> timeit bzr branch trunk-1.9 test
>> time: 6.424
>>
>> timeit bzr branch trunk-2a test2
>> time: 9.202
>>
>> And we have fairy small history :-(
> 
> It is a known regression. Most of it is because we just have more small
> pages to copy, some of it because analyzing all of those small pages is
> slower (than passing a regex over XML delta lines). I wouldn't say I've
> really seen the regression with smaller histories as strongly as you see
> them.
> 
> It could also be different behaviours of the StreamSource fetch path,
> versus the old Packer one.
> 
> It was something I tried to address a couple of times, but I was only
> seeing it with Launchpad sized trees. I should poke again with something
> the size of qbzr.

BTW, 1.9-rich-root format is also slower than plain 1.9 here:

C:\Temp\qbzr-bbc>timeit bzr get trunk-1.9 test
Branched 769 revision(s).

time: 6.242

C:\Temp\qbzr-bbc>timeit bzr get trunk-2a test
Branched 769 revision(s).

time: 9.352

C:\Temp\qbzr-bbc>timeit bzr get trunk-1.9rr test
Branched 769 revision(s).

time: 7.302

Last numbers is for 1.9-rich-roots.

2Vincent: probably this is another reason why I don't upgrade my
branches to rich-roots? Because rr is a bit slower?




More information about the bazaar mailing list