public BenchmarkTaskAttribute( int processCount = 3, BenchmarkMode mode = BenchmarkMode.Throughput, BenchmarkPlatform platform = BenchmarkPlatform.HostPlatform, BenchmarkJitVersion jitVersion = BenchmarkJitVersion.HostJit, BenchmarkFramework framework = BenchmarkFramework.HostFramework, BenchmarkToolchain toolchain = BenchmarkToolchain.Classic, BenchmarkRuntime runtime = BenchmarkRuntime.Clr, int warmupIterationCount = 5, int targetIterationCount = 10 ) { Task = new BenchmarkTask( processCount, new BenchmarkConfiguration(mode, platform, jitVersion, framework, toolchain, runtime, warmupIterationCount, targetIterationCount)); }
public BenchmarkConfiguration( BenchmarkMode mode, BenchmarkPlatform platform, BenchmarkJitVersion jitVersion, BenchmarkFramework framework, BenchmarkToolchain toolchain, BenchmarkRuntime runtime, int warmupIterationCount, int targetIterationCount) { Mode = mode; Platform = platform; JitVersion = jitVersion; Framework = framework; Toolchain = toolchain; Runtime = runtime; WarmupIterationCount = warmupIterationCount; TargetIterationCount = targetIterationCount; }
public BenchmarkTaskAttribute( int processCount = 3, BenchmarkMode mode = BenchmarkMode.Throughput, BenchmarkPlatform platform = BenchmarkPlatform.HostPlatform, BenchmarkJitVersion jitVersion = BenchmarkJitVersion.HostJit, BenchmarkFramework framework = BenchmarkFramework.HostFramework, BenchmarkExecutor executor = BenchmarkExecutor.Classic, BenchmarkRuntime runtime = BenchmarkRuntime.Clr, string runtimeVersion = null, int warmupIterationCount = 5, int targetIterationCount = 10, int[] intParams = null ) { Task = new BenchmarkTask( processCount, new BenchmarkConfiguration(mode, platform, jitVersion, framework, executor, runtime, runtimeVersion, warmupIterationCount, targetIterationCount), new BenchmarkParametersSets(intParams)); }
public BenchmarkConfiguration( BenchmarkMode mode, BenchmarkPlatform platform, BenchmarkJitVersion jitVersion, BenchmarkFramework framework, BenchmarkExecutor executor, BenchmarkRuntime runtime, string runtimeVersion, int warmupIterationCount, int targetIterationCount) { Mode = mode; Platform = platform; JitVersion = jitVersion; Framework = framework; Executor = executor; Runtime = runtime; RuntimeVersion = runtimeVersion; WarmupIterationCount = warmupIterationCount; TargetIterationCount = targetIterationCount; }