[Qgis-developer] Processing causes major slowness at QGIS startup

Martin Dobias wonder.sk at gmail.com
Tue Aug 26 22:43:26 PDT 2014


On Wed, Aug 27, 2014 at 11:29 AM, Luca Manganelli <luca76 at gmail.com> wrote:
>
>> 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.

Actually since the adoption of metadata.txt for plugin metadata it is
not necessary for QGIS to load all python plugins on start up. I have
a suspicion that it is the plugin installer component which tries to
load them while QGIS is being started (just to check whether they load
correctly). Such check is IMHO not necessary and its removal would
make the loading time shorter.

Regards
Martin


More information about the Qgis-developer mailing list