public static BenchmarkResult Run( Action action, int iterations) { var benchmark = new Benchmark(action); return benchmark.Run(iterations); }
public static BenchmarkResult Run( Action action, TimeSpan stopAfter) { var benchmark = new Benchmark(action); return benchmark.Run(stopAfter); }
public static BenchmarkResultList Run( Action action, params int[] iterationsList) { var benchmark = new Benchmark(action); return benchmark.Run(iterationsList); }