Name: s 2011-07-22 3:27
what is the best way to benchmark the speed of apps, say time how fast an app runs to completion? Is there a universal way to time an app runs to completion for both interpreted and compiled languages?
timer = current_time()
// code
execution_time = current_time() - timer