We use google benchmark to define C++ benchmarks which are able to aggregate data from runs, and Flame Graphs to produce a breakdown of the various function calls and their importance as a proportion of the call stack.
Here's Crocoddyl's flame graph:
Here's for aligator::SolverFDDP
: