[pypy-issue] Issue #2517: Example scientific numpy code 6x slower in pypy (pypy/pypy)

lesshaste issues-reply at bitbucket.org
Fri Mar 24 08:07:10 EDT 2017


New issue 2517: Example scientific numpy code 6x slower in pypy
https://bitbucket.org/pypy/pypy/issues/2517/example-scientific-numpy-code-6x-slower-in

lesshaste:

The attached numpy code computes the permanent of a matrix and is about 6 times slower in pypy 5.7 than cpython.  This is a problem in real scientific code so we have resorted to using cython currently.

time python test.py
-3.11279519223e-07

real	0m5.085s
user	0m5.180s
sys	0m0.304s

time bin/pypy test.py
-3.11279519223e-07

real	0m33.465s
user	0m33.412s
sys	0m0.036s




More information about the pypy-issue mailing list