Expensive plugins
Jelmer Vernooij
jelmer at samba.org
Tue Jun 1 15:32:03 BST 2010
On Tue, 2010-06-01 at 15:50 +0200, Gary van der Merwe wrote:
> I wrote script to do
> $ export BZR_DISABLE_PLUGINS=[all other plugins]
> $ time bzr rocks
> for each plugin that I have installed on my desktop, then take the real
> time for each of those and subtract a baseline time bzr rocks --no-plugins
Do these times only represent the time required to load the modules from
a plugin itself or also the modules outside of the plugin that it
imports?
If the latter than I think the issues in the svn and git mplugins should
be mostly resolved if we find some way to do lazy plugin registration.
> 0.109 qbzr
> 0.102 svn
> 0.090 dbus
dbus would also benefit from lazy hook registration, at the moment it
imports the smart server to register some hooks there. Its commands
could also be lazily registered.
> 0.085 loom
IIRC loom doesn't do lazy command registration yet.
> 0.075 builddeb
> 0.070 news_merge
> 0.065 git
> 0.063 search
> 0.056 gtk
> 0.053 email
> 0.053 history_db
> 0.052 upload
> 0.051 testrunner
> 0.048 bookmarks
> 0.018 stats
> 0.016 commitfromnews
> 0.015 colocated
> 0.015 launchpad
> 0.012 bzrtools
> 0.011 extmerge
> 0.011 rewrite
> 0.009 explorer
> 0.009 pqm
> 0.009 scmproj
> 0.008 netrc_credential_store
> 0.004 bash_completion
>
> Needless to say, I'm going to look into why qbzr is the worst....
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100601/e89411d4/attachment.pgp
More information about the bazaar
mailing list