Node execution time, total execution time

Good morning forum.
I am looking for some suggestion on how to perform some diagnostic around execution time:

  • Single node execution time
  • Total workflow execution time
  • It has to work on both GH environment and GH Player
  • Ideally we want to pull as many information as we can
  • Third party packages used

We have already an extension in Dynamo that does exactly this, logging all the execution data we in a database. We would like to achieve a consistent result in GH, to be able to compare the adoption/usage of both platforms.

Can someone suggest from where to start or a documentation we can look at? Also if there will be changes coming with GH2.
I am sure someone has done this already…
Thanks in advance

If you want something partially done: Pancake | Food4Rhino (but it won’t run with GH player)

In short, for timing, you can read the profiler property of components. For third-party analysis, you need to enumerate over document objects.

image

image

1 Like

I once scripted one very basic profiler, just in case you need to implement it differently: