Calculate Code Execution Time

Calculate Code Execution Time

 var watch = System.Diagnostics.Stopwatch.StartNew();
// WRITE YOUR CODE HERE
watch.Stop();
Debug.Log("ElapsedMilliseconds : " + watch.ElapsedMilliseconds);