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

David Cournapeau cournape at gmail.com
Tue Jun 18 07:40:27 EDT 2013

On Mon, Jun 17, 2013 at 4:06 PM, Arink Verma <arinkverma at gmail.com> wrote:
> I am building numpy from source, python setup.py build --fcompiler=gnu95
> then installation, python setup.py install --user, on ubuntu 13.04
> for analysis results
> pprof --svg /usr/bin/python py.prof

You can try using bento, with something like:

CFLAGS="-O0 -fno-omit-frame-pointer -g" bentomaker build -i -v -j4

There is a bit of overhead to set it up, though.


More information about the NumPy-Discussion mailing list