public BenchmarkContext(BenchmarkSetup setup, string type) { if (type.Equals("double", StringComparison.OrdinalIgnoreCase)) { this.benchmark = new Double.SolverBenchmark(); } else { this.benchmark = new Complex.SolverBenchmark(); } Configuration = setup; }
public abstract BenchmarkResult Run(BenchmarkSetup config);