RFC: startup time - again
David Cournapeau
david at ar.media.kyoto-u.ac.jp
Tue Sep 9 15:27:44 BST 2008
Matthew D. Fuller wrote:
> Now, when I wipe out bzrlib/plugins/launchpad, there's that ~100ms
> back. So a quarter of the time used by 'bzr rocks' is used in the
> launchpad plugin.
>
This is not surprising: lp plugin import both xmlrpclib (which is really
slow to import) and urlparse (which is surprising slow to import as
well); we do not use xml stuff in numpy, but I specifically remember
urlparse being slow, and we delayed import for this one. Just importing
those two takes around 35 ms (from 235 ms taken by bzr rocks, wo taking
into account python launch itself in both cases)
cheers,
David
More information about the bazaar
mailing list