public void BenchEmFloatClass() { EmFloatStruct t = new EMFloatClass(); t.loops = 50; t.adjust = 1; for (int i = 0; i < EmFloatClassIterations; i++) { t.Run(); } }
public static void BenchEmFloatClass() { Setup(); EmFloatStruct t = new EMFloatClass(); t.loops = 50; t.adjust = 1; foreach (var iteration in Benchmark.Iterations) { using (iteration.StartMeasurement()) { for (int i = 0; i < EmFloatClassIterations; i++) { t.Run(); } } } }
public static void BenchEmFloatClass() { Setup(); EmFloatStruct t = new EMFloatClass(); t.loops = 100; t.adjust = 0; foreach (var iteration in Benchmark.Iterations) { using (iteration.StartMeasurement()) { for (int i = 0; i < EmFloatClassIterations; i++) { t.Run(); } } } }