public BenchmarkTask(int processCount, BenchmarkConfiguration configuration, BenchmarkSettings settings, BenchmarkParams @params = null) { ProcessCount = processCount; Configuration = configuration; Settings = settings; Params = @params; }
private static void GenerateAppConfigFile(string projectDir, BenchmarkConfiguration configuration) { var useLagacyJit = configuration.JitVersion.ToConfig(); var template = GetTemplate(configuration.JitVersion == BenchmarkJitVersion.CurrentJit ? "BenchmarkAppConfigEmpty.txt" : "BenchmarkAppConfig.txt"); var content = template. Replace("$UseLagacyJit$", useLagacyJit); string fileName = Path.Combine(projectDir, "app.config"); File.WriteAllText(fileName, content); }
public BenchmarkTask(int processCount, BenchmarkConfiguration configuration, BenchmarkParametersSets parametersSets = null) { ProcessCount = processCount; Configuration = configuration; ParametersSets = parametersSets ?? BenchmarkParametersSets.Empty; }
public BenchmarkTask(int processCount, BenchmarkConfiguration configuration, BenchmarkSettings settings) { ProcessCount = processCount; Configuration = configuration; Settings = settings; }