idyntree icon indicating copy to clipboard operation
idyntree copied to clipboard

Benchmark / Profiling

Open ahoarau opened this issue 4 years ago • 2 comments

Hello iDyntree people, I think it would be beneficial to give users a simple example they can run so they have an idea of how much time each function cost in term of milliseconds:

  • For a simple robot arm (6 dof), forward and inverse kinematics, inv dynamics etc.
  • For the iCub (~30-50dof (?)), same but also getting the mass matrix, COM etc.
  • add a mid-range computer results in the readme and maybe raspberry results. Again, just to get an order of magnitude. What do you think ?

ahoarau avatar Sep 18 '19 11:09 ahoarau

It make sense, if it is something that is meant to be run by the users I would add it as a tool in https://github.com/robotology/idyntree/tree/master/src/tools , something like idyntree-benchmark that takes in input a model file, and if no model is specified runs the benchmark for two embeedded models.

traversaro avatar Sep 18 '19 11:09 traversaro

Related repo: https://github.com/rbd-benchmarks/rbd-benchmarks .

traversaro avatar Oct 15 '19 10:10 traversaro

Interestingly, I started doing some benchmarks of iDynTree vs Pinocchio in https://github.com/ami-iit/idynfor/pull/39 and https://github.com/ami-iit/idynfor/pull/37 .

traversaro avatar Sep 10 '23 19:09 traversaro