[pypy-issue] [issue1125] numpypy much slower than list implementation

mikefc tracker at bugs.pypy.org
Thu Apr 12 02:16:25 CEST 2012


New submission from mikefc <coolbutuseless at gmail.com>:

On the Numba mailing list, I came across a test case where numpypy was much slower 
than a list implementation, and I thought this might a useful benchmark.


http://librelist.com/browser//numba/2012/3/29/numba-numpy-optimization/

The function is "pairwise distance function to calculate the
Haversin distance between all points in two vectors"

https://bitbucket.org/FedericoV/numpy-tip-complex-
modeling/src/d83acacabda1/src/simulations

List Implementation: 2.00559
C-List Implementation: 0.28070
Numpy Implementation: 0.29622
Cython Implementation: 0.19165
Numexpr Implementation: 0.09320

Using PyPy:
List Implementation: 0.27367
Numpy Implementation: 4.48617

----------
messages: 4244
nosy: mikefc, pypy-issue
priority: performance bug
status: unread
title: numpypy much slower than list implementation

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1125>
________________________________________


More information about the pypy-issue mailing list