Profiling root macro

Hi! What is the recommended procedure for profiling a ROOT macro (which use an aclic-ed library)?
Can i just do valgrind --tool=callgrind root myMacro.C ?
Thanks a lot!

Valgrind and ROOT

1 Like

Thanks a lot!

If you want a nice graphic interface to callgrind, take a look at Profiling Function Execution | Qt Creator Manual
(and Coding in ROOT with the horsepower of an F1 - ROOT). Or directly kcachegrind.

Some alternatives with flame graphs would be: Analyzing CPU Usage | Qt Creator Manual or GitHub - KDAB/hotspot: The Linux perf GUI for performance analysis.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.