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

Arink Verma arinkverma at gmail.com
Mon Jun 17 12:08:54 EDT 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20130617/a20e0ee5/attachment.html>

More information about the NumPy-Discussion mailing list