Closed AnClark closed 1 year ago
Hi falkTX!
I want to improve performance of my plugin, so I planned to profile Plugin::run() with Calllgrind.
Plugin::run()
However, Callgrind did not report anything about the function, just showing the execution of DISTRHO::Plugin and DISTRHO::UI's constructors.
DISTRHO::Plugin
DISTRHO::UI
How to reproduce:
cd build/bin valgrind --tool=callgrind --verbose ./minaton
Do you have any better idea to profile Plugin::run() properly?
BTW: Attachment is the JSON file exported by Speedscope. You can load it by the site.
callgrind.speedscope.json.tar.gz
I've found a solution: using Linux tool perf with plugin built with Debug or RelWithDebInfo profile.
perf
Hi falkTX!
I want to improve performance of my plugin, so I planned to profile
Plugin::run()
with Calllgrind.However, Callgrind did not report anything about the function, just showing the execution of
DISTRHO::Plugin
andDISTRHO::UI
's constructors.How to reproduce:
Do you have any better idea to profile
Plugin::run()
properly?BTW: Attachment is the JSON file exported by Speedscope. You can load it by the site.
callgrind.speedscope.json.tar.gz