M
Massi
Hi everyone,
I'm writing a big program (windows 7, python 2.6.6) which includes
lots of python libraries (SQLalchemy, PyQt, SocketServer,
Matplotlib,...). Now I'm trying to build a stand alone executable with
py2exe (0.6.9) and everything works great. The only issue is that the
executable seems to be slower with respect to the same code run from
Idle.
For example, at stratup my program sets up a server and during the
execution sends commands to it and waits for reply. In the code case
the average time needed to process a given command is 0.24s, in the
executable case it raises to 0.30 (times are obviously measured
considering the same command).
It is really difficult for me to build a small example script to show
the problem, so I guess if anyone knows if there are some issues in
py2exe that could bring such a performance loss. Any hints is welcome,
thanks!
I'm writing a big program (windows 7, python 2.6.6) which includes
lots of python libraries (SQLalchemy, PyQt, SocketServer,
Matplotlib,...). Now I'm trying to build a stand alone executable with
py2exe (0.6.9) and everything works great. The only issue is that the
executable seems to be slower with respect to the same code run from
Idle.
For example, at stratup my program sets up a server and during the
execution sends commands to it and waits for reply. In the code case
the average time needed to process a given command is 0.24s, in the
executable case it raises to 0.30 (times are obviously measured
considering the same command).
It is really difficult for me to build a small example script to show
the problem, so I guess if anyone knows if there are some issues in
py2exe that could bring such a performance loss. Any hints is welcome,
thanks!