| File: Program.cs | Web Access |
| Project: src\test\Microsoft.ML.CpuMath.PerformanceTests\Microsoft.ML.CpuMath.PerformanceTests.csproj (Microsoft.ML.CpuMath.PerformanceTests) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using BenchmarkDotNet.Configs; using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Running; using BenchmarkDotNet.Toolchains.InProcess.Emit; namespace Microsoft.ML.CpuMath.PerformanceTests { class Program { public static void Main(string[] args) => BenchmarkSwitcher .FromAssembly(typeof(Program).Assembly) .Run(args, CreateCustomConfig()); private static IConfig CreateCustomConfig() => DefaultConfig.Instance.AddJob(Job.Default .WithToolchain(InProcessEmitToolchain.Instance)); } }