Dynamo Script takes ages to run

I have a dyn that takes a long time to run (45min or more). Is there any way to embed some sort of timer into it at key points so I can see after it it complete which part(s) are taking such a long time?

Something like this?

Exactly what i was looking for. Thanks-