public void BenchAssignRectangular() { AssignStruct t = new AssignRect(); t.numarrays = 10; t.adjust = 1; for (int i = 0; i < AssignRectangularIterations; i++) { t.Run(); } }
public static void BenchAssignRectangular() { Setup(); AssignStruct t = new AssignRect(); t.numarrays = 10; t.adjust = 1; foreach (var iteration in Benchmark.Iterations) { using (iteration.StartMeasurement()) { for (int i = 0; i < AssignRectangularIterations; i++) { t.Run(); } } } }
public static void BenchAssignRectangular() { Setup(); AssignStruct t = new AssignRect(); t.numarrays = 1000; t.adjust = 0; foreach (var iteration in Benchmark.Iterations) { using (iteration.StartMeasurement()) { for (int i = 0; i < AssignRectangularIterations; i++) { t.Run(); } } } }