Daily Archives: October 11, 2013

Profiling Python with valgrind

1. Under Linux, install valgrind as follows (Fedora): sudo yum install valgrind kcachegrindsudo yum install valgrind kcachegrind and pyprof2calltree: pip install pyprof2calltreepip install pyprof2calltree 2. create a Python script (let us call it run.py) 3. Create the file containing the … Continue reading

Posted in Python | Tagged , | 1 Comment