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

Nathaniel Smith njs@pobox....
Mon Jun 10 07:52:22 CDT 2013


On Sat, Jun 8, 2013 at 3:15 AM, Arink Verma <arinkverma@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