At the beginning of each sequence that you want to check, set a variable to the value in $ticks
then at the end of the sequence, have an echo command showing $calc($ticks - <variable>)

That will display to you the number of ticks that sequence takes. I believe, but I do not guarantee this, that one tick is the equivalent of one microsecond, so if you get a result of 500, that would be equal to 1/2 a second.

If there are other ways of doing this, then I'm unaware of them.