mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-15 00:15:15 +08:00
18 lines
487 B
C#
18 lines
487 B
C#
using BenchmarkDotNet.Configs;
|
|
using BenchmarkDotNet.Environments;
|
|
using BenchmarkDotNet.Jobs;
|
|
using BenchmarkDotNet.Toolchains.CsProj;
|
|
|
|
namespace MQTTnet.Benchmarks.Configurations
|
|
{
|
|
public class RuntimeCompareConfig : BaseConfig
|
|
{
|
|
public RuntimeCompareConfig()
|
|
{
|
|
AddJob(Job.Default.WithRuntime(ClrRuntime.Net472));
|
|
AddJob(Job.Default.WithRuntime(CoreRuntime.Core22).WithToolchain(CsProjCoreToolchain.NetCoreApp22));
|
|
}
|
|
|
|
}
|
|
}
|