RFC: startup time - again

Alexander Belchenko bialix at ukr.net
Wed Sep 10 08:07:50 BST 2008


Mark Hammond пишет:
> Hi Alex,
>> but if you throw away test suite for library.zip it's also a bit
>> faster.
> 
> Have you measured how much faster?  I'm surprised that the extra unused modules in the .zip file cause a noticeable difference - or do you think that some of the modules are actually being imported even though things work fine when they do not exist, and that accounts for the difference?


Yes I measured this in the past. I'll repeat this experiment tonight with 1.6.1 so I have numbers to 
compare with numbers I sent in reply to John.

I think it's faster because without tests library.zip is about 3-4MB less in size. So it's not 
because something imported, but because of side effect of loading this fat big library.zip every time.




More information about the bazaar mailing list