3 Install gprof2dot.py into your $PATH:
4 http://code.google.com/p/jrfonseca/wiki/Gprof2Dot
5 Also install graphviz (to render PNGs) and feh (image viewer).
9 ./test_performance.py -c 1 -s load_ora
13 ./test_performance.py -h
16 You can also start the profiler from within MyPaint (Menu->Help->Debug).
17 Works best with a keyboard shortcut assigned through the menu.
19 Use the results with care. There is profiler overhead, the work being
20 done while idling will sum up (eg. just hovering with the stylus), and
21 xorg is probably filtered out completely.
23 To profile the code written in C you have to use something else