-
Committer:
Jelmer Vernooij
-
Date:
2011-01-17 00:23:03 UTC
-
mto:
This revision was merged to the branch mainline in
revision
5616.
-
Revision ID:
jelmer@samba.org-20110117002303-rm402s7uy0lpdbcx
Lazy load a couple of modules in bzrlib.plugins.launchpad.lp_propose.
This module gets loaded at startup by bzr-pipeline, which registers a hook.
Without lazy loading launchpadlib, waddlib, webbrowser, restful.clienterrors,
etc. all get loaded.
Lazy importing brings "time bzr st" on a bzr-pipeline tree from 0.30s to
roughly 0.20s.