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?
time. I don't know others.
timer = current_time()
// code
execution_time = current_time() - timertimer = current_time()
super_pipelined_remote_call()
execution_time = current_time() - timer
remote_call_causing_a_pipeline_stall()