martmists
10/11/2021, 12:12 PMGavin Ray
10/11/2021, 3:50 PMvalgrind
running in callgrind
mode
Can visualize output with kcachegrind
https://apps.kde.org/kcachegrind/martmists
10/11/2021, 5:49 PMIf you want to avoid that, then you might tryHow do I tell python to do this?running invalgrind
modecallgrind
Gavin Ray
10/12/2021, 2:51 PMvalgrind --tool=callgrind python thing.py
--branch-sim=yes
or --cache-sim=yes
and whatnot but for a base invocation that should spit out the callgrind
log, that you can then view using tools like KCachegrind