RFC: startup time - again

Russel Winder russel.winder at concertant.com
Tue Sep 9 14:57:24 BST 2008


On Tue, 2008-09-09 at 16:27 +0300, Alexander Belchenko wrote:

> try to measure time of command:
> 
> bzr --no-plugins --no-aliases rocks
> 
> to see difference.
> 
> Another slowdown on import is ConfigObj that draw many slow module from stdlib.

The outcome of this is that plugins == pain:

        |> time bzr --no-plugins --no-aliases rocks
        It sure does!
        
        real	0m0.266s
        user	0m0.184s
        sys	0m0.044s
        508 balin:~
        |> time bzr --no-plugins --no-aliases rocks
        It sure does!
        
        real	0m0.196s
        user	0m0.132s
        sys	0m0.036s
        508 balin:~
        |> time bzr --no-plugins --no-aliases rocks
        It sure does!
        
        real	0m0.187s
        user	0m0.148s
        sys	0m0.032s
        508 balin:~
        |> time bzr --no-plugins rocks
        It sure does!
        
        real	0m0.192s
        user	0m0.120s
        sys	0m0.056s
        509 balin:~
        |> time bzr --no-plugins rocks
        It sure does!
        
        real	0m0.194s
        user	0m0.136s
        sys	0m0.044s
        509 balin:~
        |> time bzr --no-plugins rocks
        It sure does!
        
        real	0m0.200s
        user	0m0.120s
        sys	0m0.040s
        509 balin:~
        |> time bzr rocks
        It sure does!
        
        real	0m0.514s
        user	0m0.360s
        sys	0m0.096s
        510 balin:~
        |> time bzr rocks
        It sure does!
        
        real	0m0.482s
        user	0m0.360s
        sys	0m0.084s
        510 balin:~
        |> 

-- 
Russel.
====================================================
Dr Russel Winder                 Partner

Concertant LLP                   t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,              f: +44 8700 516 084
London SW11 1EN, UK.             m: +44 7770 465 077
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080909/031a2051/attachment.pgp 


More information about the bazaar mailing list