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

Nathaniel Smith njs at pobox.com
Mon Jun 10 08:52:22 EDT 2013


On Sat, Jun 8, 2013 at 3:15 AM, Arink Verma <arinkverma at gmail.com> wrote:
> I tried to use pprof, but I can not find profiles to be used. like ls.prof
> in "pprof /bin/ls ls.prof"

You're looking for the ProfilerStart/ProfilerStop functions, the
former takes a filename to write the profiler to (like "ls.prof" or
"x-plus-x.prof"):
  http://www.mail-archive.com/numpy-discussion@scipy.org/msg41451.html

-n



More information about the NumPy-Discussion mailing list