martmists
10/11/2021, 12:12 PMGavin Ray
10/11/2021, 3:50 PMGavin Ray
10/11/2021, 3:54 PMvalgrind
running in callgrind
mode
Can visualize output with kcachegrind
https://apps.kde.org/kcachegrind/martmists
10/11/2021, 5:49 PMmartmists
10/12/2021, 12:03 AMIf 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
Gavin Ray
10/12/2021, 2:52 PM--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