public void Aggregate_Int32_Add_Test() { using (var array = new NativeArray <int>(114514, Allocator.Temp)) { InitializeIntArray(array); sw.Start(); for (var i = 0; i < Count; i++) { array.Average(); } Debug.Log(sw.Stop().ToString()); sw.Start(); for (var i = 0; i < Count; i++) { LE.Average(array); } Debug.Log(sw.Stop().ToString()); } }