private static bool TestBase() { TreeInsert T = new TreeInsert(); bool result = true; for (int i = 1; i <= Iterations; i++) { result &= T.Bench(); } return(result); }
public static void Test() { TreeInsert T = new TreeInsert(); foreach (var iteration in Benchmark.Iterations) { using (iteration.StartMeasurement()) { for (int i = 1; i <= Iterations; i++) { T.Bench(); } } } }
private static bool TestBase() { TreeInsert T = new TreeInsert(); bool result = true; for (int i = 1; i <= Iterations; i++) { result &= T.Bench(); } return result; }
public static void Test() { TreeInsert T = new TreeInsert(); foreach (var iteration in Benchmark.Iterations) { using (iteration.StartMeasurement()) { for (int i = 1; i <= Iterations; i++) { T.Bench(); } } } }