Hi all, @DavidRutten,
I’m blind again without knowing what’s going on under the hood. I have a component that encapsulates a particle solver and if I measure what it takes on my own it is much less than the actual time it takes in GH and that show up on the profiler.
My measurement shows:
Component took 69 ms.
BeforeSolveInstance took 0 ms.
SolveInstance took 68 ms.
Inputs took 4 ms.
Solve took 58 ms.
Outputs took 5 ms.
AfterSolveInstance took 0 ms.
Stopwatch: 72 ms.
but in GH it takes 4.1 seconds!
For details, this is the component code. I have attached a normal stopwatch to prove that my custom nested stopwatch (RunningTime) it does not fail.
Something is happening to make such a big difference and I have no idea what it could be. Can someone shed some light so I can prove something?
Thanks.