You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RuntimeCompareConfig.cs 487 B

1234567891011121314151617
  1. using BenchmarkDotNet.Configs;
  2. using BenchmarkDotNet.Environments;
  3. using BenchmarkDotNet.Jobs;
  4. using BenchmarkDotNet.Toolchains.CsProj;
  5. namespace MQTTnet.Benchmarks.Configurations
  6. {
  7. public class RuntimeCompareConfig : BaseConfig
  8. {
  9. public RuntimeCompareConfig()
  10. {
  11. AddJob(Job.Default.WithRuntime(ClrRuntime.Net472));
  12. AddJob(Job.Default.WithRuntime(CoreRuntime.Core22).WithToolchain(CsProjCoreToolchain.NetCoreApp22));
  13. }
  14. }
  15. }