> The total runtime of my program as a script (opencv, numpy, matplotlib) is about 4 to 5 seconds. As exe-file it takes about 30 to 40 seconds to finish. Well, this in unacceptable.
Indeed! But can you tell where the time is being spent? That is, is it 25 seconds setting up before your code begins to execute? Or is it setting up quickly but your code runs 10x slower? As described in ( http://pythonhosted.org/PyInstaller/#how-the-one-file-program-works) the one-file setup basically unpacks an archive to create the one-folder organization in a temp location. So try it as a one-folder bundle. If that eliminates the delay, it points to the one-file setup. If one-folder is still slow, then stick in some print statements to find out, in a coarse way, where is the major delay: Before your code starts, or during it, or after it completes? -- 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 http://groups.google.com/group/pyinstaller. For more options, visit https://groups.google.com/d/optout.
