<div dir="ltr">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.<div><br></div><div>- Nathan</div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">On Wed, Aug 27, 2014 at 2:29 PM, Luca Manganelli <span dir="ltr"><<a href="mailto:luca76@gmail.com" target="_blank">luca76@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="">On Tue, Aug 26, 2014 at 5:36 PM, RĂ©gis Haubourg<br>
<<a href="mailto:regis.haubourg@eau-adour-garonne.fr">regis.haubourg@eau-adour-garonne.fr</a>> wrote:<br>
> Hi,<br>
> interesting issue.<br>
> More generaly, startup speed starts to be an issue here, and plugins take<br>
> more than half the time of global startup.<br>
<br>
</div>Right. If we remove all of those plugin, QGIS is much faster to start.<br>
<div class=""><br>
> Do we have tips for plugin authors to speed up python loading?<br>
<br>
</div>Yes, they should move the big code from init() to initGUI().<br>
<br>
They should remember that the code in init() is ALWAYS executed, even<br>
with that plugin "disabled" from the list.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div></div></blockquote></div><br></div>