It should also be possible to add some timing stats to the plugin loading
code from the QGIS side to log which plugins are taking time to load.

- Nathan


On Wed, Aug 27, 2014 at 2:29 PM, Luca Manganelli <[email protected]> wrote:

> On Tue, Aug 26, 2014 at 5:36 PM, Régis Haubourg
> <[email protected]> wrote:
> > Hi,
> > interesting issue.
> > More generaly, startup speed starts to be an issue here, and plugins take
> > more than half the time of global startup.
>
> Right. If we remove all of those plugin, QGIS is much faster to start.
>
> > Do we have tips for plugin authors to speed up python loading?
>
> Yes, they should move the big code from init() to initGUI().
>
> They should remember that the code in init() is ALWAYS executed, even
> with that plugin "disabled" from the list.
> _______________________________________________
> Qgis-developer mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to