[Numpy-discussion] NumPy speed tests by NASA

Alan G Isaac alan.isaac at gmail.com
Tue Feb 22 16:44:56 EST 2011


On 2/22/2011 3:45 PM, Sturla Molden wrote:
> I came accross some NumPy performance tests by NASA. Comparisons against
> pure Python, Matlab, gfortran, Intel Fortran, Intel Fortran with MKL,
> and Java. For those that are interested, it is here:

> https://modelingguru.nasa.gov/docs/DOC-1762

I don't believe the matrix multiplication results.
Maybe I misunderstand them ...

     >>> t = timeit.Timer("np.dot(A,B)","import numpy as np;N=1500;A=np.random.random((N,N));B=np.random.random((N,N))")
     >>> print t.timeit(number=10)/10.
     1.09043075307

I'm using the precompiled Windows binaries.

Alan Isaac




More information about the NumPy-Discussion mailing list