[Numpy-discussion] Profiling (was GSoC : Performance parity between numpy arrays and Python scalars)

Arink Verma arinkverma@gmail....
Mon Jun 17 11:08:54 CDT 2013


>
>
> Not sure what you are profiling. The PyArray_DESCR call just returns a
> pointer to the descr contained in an ndarray instance, so probably has
> little relevance here.
>

I am profiling following code

timeit.timeit('x+y',number=1000000000,setup='import numpy as np;x =
np.asarray(1.0);y = np.asarray(2.0);')

Arink Verma
www.arinkverma.in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20130617/a20e0ee5/attachment.html 


More information about the NumPy-Discussion mailing list