Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
 public abstract BenchmarkResult Run(BenchmarkSetup config);