What profiler to use in your ROOT script?

Hi,

I am wondering how you use a profiler to see why your script is slow in ROOT. gprof seems that we have to make an excutable. Thanks.

regards,

gma

1 Like

try the valgrind tool with;
valgrind --tool=callgrind root.exe
and visualize the result file callgrind.12345 with
kcachegrind 12345

see the man pages of these 2 systems

Rene

1 Like

Many thanks, Brun. I will take a look at your suggestion.

regards,

gma