twistd -n --savestats --profile=myprog.hotshot myprog
hotshot2cg
utility from the KCachegrind distribution, we turn the hotshot profile into a calltree profile that KCachegrind can already eat. hotshot2cg myprog.hotshot > myprog.calltree
kcachegrind myprog.calltree
Source: https://habr.com/ru/post/92702/
All Articles