Watch

Displays the elapsed time in seconds in the Script window since Windows startup, since the previous time Watch was run, or since the second -i command was executed, which ever is most recent.

Definition:

Def  Watch {second -e v1;type $EXEmessage.ElapsedTime};

Example:

The following script starts a timer, executes a long loop, and then executes the Watch macro displaying the elapsed time in seconds that it took the loop to complete itself.

Second -i;
Loop (ii,1,10000) {ty -q $(ii)};
Watch;