Measure approximate execution time