I’ve some heavy functions in my code and I’d love to improve its performance. It’s LineTracesSingleByObjectType which is called >100.000 times a tick.
Now I’d like to see if my ParallelFor really improves the performance.
How to print the current timestamp of the code running?
Also I tried to print some stuff before and after the For-Loop but it always gets printed at the same time, tho the World is moving really slow and the computationtime should be high between.
Hope you can help me out!