Problem
Sometimes it is necesseray to benchmark DXL scripts for their execution time.
Approach
There is a basic function called getTickCount_() that gives the current milliseconds. When subtracting the time before and after the execution we can get the execution time that was needed for the script.
Solution
int measureStart = (getTickCount_()); sleep_(1240); int measureEnd = (getTickCount_()); print "The doing took " (measureEnd - measureStart) " seconds";