public void BenchNumericSortRectangular() { NumericSortRect t = new NumericSortRect(); t.numarrays = 200; t.adjust = 1; for (int i = 0; i < NumericSortRectangularIterations; i++) { t.Run(); } }
public static void BenchNumericSortRectangular() { Setup(); NumericSortRect t = new NumericSortRect(); t.numarrays = 200; t.adjust = 1; foreach (var iteration in Benchmark.Iterations) { using (iteration.StartMeasurement()) { for (int i = 0; i < NumericSortRectangularIterations; i++) { t.Run(); } } } }
public static void BenchNumericSortRectangular() { Setup(); NumericSortRect t = new NumericSortRect(); t.numarrays = 1000; t.adjust = 0; foreach (var iteration in Benchmark.Iterations) { using (iteration.StartMeasurement()) { for (int i = 0; i < NumericSortRectangularIterations; i++) { t.Run(); } } } }