public void double4x4_fastinverse_burst() { FunctionPointer <double4x4_fastinverse.TestFunction> testFunction = BurstCompiler.CompileFunctionPointer <double4x4_fastinverse.TestFunction>(double4x4_fastinverse.BurstTestFunction); var args = new double4x4_fastinverse.Arguments(); args.Init(); Measure.Method(() => { testFunction.Invoke(ref args); }) .Definition(sampleUnit: SampleUnit.Microsecond) .WarmupCount(1) .MeasurementCount(10) .Run(); args.Dispose(); }
public void double4x4_fastinverse_mono() { double4x4_fastinverse.TestFunction testFunction = double4x4_fastinverse.MonoTestFunction; var args = new double4x4_fastinverse.Arguments(); args.Init(); Measure.Method(() => { testFunction.Invoke(ref args); }) .Definition(sampleUnit: SampleUnit.Microsecond) .WarmupCount(1) .MeasurementCount(10) .Run(); args.Dispose(); }