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

Arink Verma arinkverma at gmail.com
Mon Jun 17 11:29:05 EDT 2013

Hi Nathaniel

It's a probabilistic sampling profiler, so if it doesn't have enough
> samples then it can miss things. 227 samples is way way too low. You need
> to run the profiled code for longer (a few seconds at least), and if that's
> not enough then maybe increase the sampling rate too (though be careful
> because setting this too high can also add noise).

I ran code '1000000000' times, which record 229115 samples. Callgraph[1]
generated is converging to *PyArray_DESCR*, and rest are unconnected.

Does it mean anything?


Arink Verma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20130617/136a8266/attachment.html>

More information about the NumPy-Discussion mailing list