Monthly Archives: October 2013

Profiling Python with valgrind

Tweet 1. Under Linux, install valgrind as follows (Fedora):

and pyprof2calltree:

2. create a Python script (let us call it 3. Create the file containing the profile information using valgrind/callgrind

4. Visualisation

Alternatively, for visualisation, … Continue reading

Posted in Python | Tagged , | Leave a comment