public void BenchLUDecomp() { LUStruct t = new LUDecomp(); t.numarrays = 250; t.adjust = 1; for (int i = 0; i < LUDecompIterations; i++) { t.Run(); } }
public static void BenchLUDecomp() { Setup(); LUStruct t = new LUDecomp(); t.numarrays = 250; t.adjust = 1; foreach (var iteration in Benchmark.Iterations) { using (iteration.StartMeasurement()) { for (int i = 0; i < LUDecompIterations; i++) { t.Run(); } } } }
public static void BenchLUDecomp() { Setup(); LUStruct t = new LUDecomp(); t.numarrays = 1000; t.adjust = 0; foreach (var iteration in Benchmark.Iterations) { using (iteration.StartMeasurement()) { for (int i = 0; i < LUDecompIterations; i++) { t.Run(); } } } }