Re: [pypy-dev] Very slow Julia example on PyPy/numpy - can you help me understand why it is slow?

2014-02-25 Thread Ian Ozsvald
Much obliged everyone. I've noted all these points in my post about my high performance talk with updates linking back to these threads: http://ianozsvald.com/2014/02/23/high-performance-python-at-pydatalondon-2014/ Re. Ronan - I'll use jitviewer, I just haven't had time. I hope to cover it in the

Re: [pypy-dev] Very slow Julia example on PyPy/numpy - can you help me understand why it is slow?

2014-02-25 Thread Maciej Fijalkowski
FYI it's fixed On Sat, Feb 22, 2014 at 8:48 PM, Maciej Fijalkowski wrote: > On Sat, Feb 22, 2014 at 7:45 PM, Ronan Lamy wrote: >> Hello Ian, >> >> Le 20/02/14 20:40, Ian Ozsvald a écrit : >> >>> Hi Armin. The point of the question was not to remove numpy but to >>> understand the behaviour :-) I

Re: [pypy-dev] Very slow Julia example on PyPy/numpy - can you help me understand why it is slow?

2014-02-22 Thread Maciej Fijalkowski
On Sat, Feb 22, 2014 at 7:45 PM, Ronan Lamy wrote: > Hello Ian, > > Le 20/02/14 20:40, Ian Ozsvald a écrit : > >> Hi Armin. The point of the question was not to remove numpy but to >> understand the behaviour :-) I've already done a set of benchmarks >> with lists and with numpy, I've copied the r

Re: [pypy-dev] Very slow Julia example on PyPy/numpy - can you help me understand why it is slow?

2014-02-22 Thread Ronan Lamy
Hello Ian, Le 20/02/14 20:40, Ian Ozsvald a écrit : Hi Armin. The point of the question was not to remove numpy but to understand the behaviour :-) I've already done a set of benchmarks with lists and with numpy, I've copied the results below. I'm using the same Julia code throughout (there's a

Re: [pypy-dev] Very slow Julia example on PyPy/numpy - can you help me understand why it is slow?

2014-02-22 Thread Armin Rigo
Hi Ian, On 20 February 2014 21:40, Ian Ozsvald wrote: > compiler technologies. The simple answer might be 'because pypynumpy > is young' and that'd be fine - at least I'd have an answer if someone > asks the question in my talk. If someone has more details, that'd be > really interesting too. Is

Re: [pypy-dev] Very slow Julia example on PyPy/numpy - can you help me understand why it is slow?

2014-02-20 Thread Ian Ozsvald
Hi Armin. The point of the question was not to remove numpy but to understand the behaviour :-) I've already done a set of benchmarks with lists and with numpy, I've copied the results below. I'm using the same Julia code throughout (there's a note about the code below). PyPy on lists is indeed ver

Re: [pypy-dev] Very slow Julia example on PyPy/numpy - can you help me understand why it is slow?

2014-02-20 Thread Armin Rigo
Hi Ian, On 20 February 2014 12:53, Ian Ozsvald wrote: > def calculate_z(maxiter, zs, cs, output): > """Calculate output list using Julia update rule""" This particular example uses numpy is a very strange and useless way, as I'm sure you know. It builds a regular list of 1'000'000 items; th

[pypy-dev] Very slow Julia example on PyPy/numpy - can you help me understand why it is slow?

2014-02-20 Thread Ian Ozsvald
Hello all. I'm talking at PyData London this Saturday on the 'high performance landscape', pypy and pypy/numpy get discussed. PyPy and lists works great on my Julia example, the pypy/numpy version is very poor with respect to other solutions (cython, pythran, numba). Can you help me understand wha