aspnetcore/src/Shared/BenchmarkRunner/DefaultCoreValidationConfig.cs

21 lines
615 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Toolchains.InProcess.NoEmit;
namespace BenchmarkDotNet.Attributes
{
internal class DefaultCoreValidationConfig : ManualConfig
{
public DefaultCoreValidationConfig()
{
AddLogger(ConsoleLogger.Default);
AddJob(Job.Dry.WithToolchain(InProcessNoEmitToolchain.Instance));
}
}
}