unity speed check

System.Diagnostics.Stopwatch sw = new System.Diagnostics.Stopwatch();

sw.Start();

코드 실행

sw.Stop();

Debug.Log(sw.ElapsedMilliseconds.ToString() + “ms”);

출처: https://jugung.tistory.com/72 [죽은쥐]