public static int Main(String[] args) { int length = args.Length == 0 ? 10 : Int32.Parse(args[0]); for (int i = 0; i < Iterations; i++) { pidigits p = new pidigits(); p.Calculate(length, true); } return(100); }
public static void Bench() { int length = 600; foreach (var iteration in Benchmark.Iterations) { using (iteration.StartMeasurement()) { for (int i = 0; i < Iterations; i++) { pidigits p = new pidigits(); p.Calculate(length); } } } }
public static int Main(String[] args) { int length = args.Length == 0 ? 10 : Int32.Parse(args[0]); for (int i = 0; i < Iterations; i++) { pidigits p = new pidigits(); p.Calculate(length, true); } return 100; }