EXE is very slow by starting (>10sec.) (build with PyInstaller)
Diez B. Roggisch
deets at nospam.web.de
Tue Jun 10 14:53:32 CEST 2008
Mark Delon wrote:
> My Python executable created with PyInstaller is too slow by starting...
> It takes about 15 secs.!!!
> I am using PyQt4 libraries for creating my very simple GUI-application.
> -> How can I SPEED UP my executable ???
Try profiling it. I'm not an PyInstaller-user, but I could imagine that
loading Qt is pretty heavy. So you might try & import as few dependencies
as possible, as late as possible. That won't reduce the overall time
needed, but maybe get you going a bit faster so the user feedback is there.
In doubt - create a fancy splashscreen :P
> -> Do you know some GOOD build switches?
There is no such thing I fear.
More information about the Python-list