Sample code of how to record elapsed time

put this in your code for tests to see how long it took for some code to
execute