[RESOLVED] pypy performance pants! Why? - Raspberry Pi Forums
i need improve performance of cpython (interpreted) code. don't want move cython due significant changes code imposes. tried pypy compiles 'c' code in time, , supposed make code run faster result. takes 17.1s (not including jit compile time) performance loop whereas cpython takes 7.6 seconds.
version of pypy comes part of standard raspbian distro. according pypy web site, version should be, on average, 6 times faster, me it's 2.25 times slower.
ideas why?
have recompiled gpio , rpio modules run pypy. rest of python code using standard python libraries.
tia
version of pypy comes part of standard raspbian distro. according pypy web site, version should be, on average, 6 times faster, me it's 2.25 times slower.
ideas why?
have recompiled gpio , rpio modules run pypy. rest of python code using standard python libraries.
tia
post code see doing
raspberrypi
Comments
Post a Comment