Alex, I recently migrated a project from py2exe to Pyinstaller and its noticeable > slower to run. Running 'project.exe --help' on py2exe takes about 400ms and > 1200ms on PyInstaller. > I have UPX disabled. I've tried modifying the compression level > in PyInstaller-3.4/PyInstaller/archive/writers.py and the effect is minimal. >
Assuming you do the single file executable: then you pay for creating temp dir, unpacking everything and running from there. py2exe does no unpacking, loads with some trickery .dll directly from the zipped file which became the .exe So, you can get a quicker startup by not packing it in one file, thus avoiding the unpacking. This of course takes away the elgance of a single file :( Harald -- GHUM GmbH Harald Armin Massa Spielberger Straße 49 70435 Stuttgart 0173/9409607 Amtsgericht Stuttgart, HRB 734971 -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/pyinstaller. For more options, visit https://groups.google.com/d/optout.
