Is PyInstaller runtime expected to be slower than native? #7436
Unanswered
matth65
asked this question in
PyInstaller
Replies: 1 comment 9 replies
-
|
On Windows and mac, startup time will be heavily impeded by antiviruses and gate keeper. On Linux, I guess that initialisation may be slightly slower due to the application having to load its own copies of Once the startup is done though, PyInstaller is out of the way. I wouldn't expect any change in performance. FWIW, I'm not seeing any change between the two. If I run them 100 times each and take a mean, the frozen one is faster as often as it is slower. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm comparing performance of a simple app packaged with PyInstaller with running the app with the native python interpreter. I'm find the PyInstaller package app runs slower overall compared to native Python.
Please see the simple app and results below. The PyInstaller packaged app runs about 50+ ms slower. Is this expected?
app.py
PyInstaller Build
Native Python Sample Results
PyInstaller Package Sample Results
Beta Was this translation helpful? Give feedback.
All reactions