php - Compiled binaries VS interpreted code in python -


i'm planning use python build couple of programs used services, run php code later on. in terms of performance, faster, compile python code binary file using cx_freeze or run python interpreter each time run program?

deployment environment:
os: arch linux arm
hardware: raspberry pi [700mhz armv6 cpu, 256mb ram, sd card filesystem]
python interpreter: python2.7
app calls frequency: high

you need test it, because there's no single right answer. cx_freeze wrap bytecode executable, vs. interpreter reading cached .pyc on disk.

in theory packaged executable quicker because it's reading fewer files, on other hand interpreter quicker because in disk cache.

there's little choose, , whatever difference is, it's not down "compiled" vs. "interpreted".


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -