From aa97f8a348aa2074113223dc12d31d658ade75a0 Mon Sep 17 00:00:00 2001 From: Richard Webb Date: Sun, 12 Apr 2020 11:31:57 +0100 Subject: [PATCH] Merge PR #441: Update the benchmark project to BenchmarkDotNet 0.12.1 --- .../ICSharpCode.SharpZipLib.Benchmark.csproj | 2 +- benchmark/ICSharpCode.SharpZipLib.Benchmark/Program.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmark/ICSharpCode.SharpZipLib.Benchmark/ICSharpCode.SharpZipLib.Benchmark.csproj b/benchmark/ICSharpCode.SharpZipLib.Benchmark/ICSharpCode.SharpZipLib.Benchmark.csproj index 8067edf35..4991a9ad1 100644 --- a/benchmark/ICSharpCode.SharpZipLib.Benchmark/ICSharpCode.SharpZipLib.Benchmark.csproj +++ b/benchmark/ICSharpCode.SharpZipLib.Benchmark/ICSharpCode.SharpZipLib.Benchmark.csproj @@ -7,7 +7,7 @@ - 0.11.4 + 0.12.1 diff --git a/benchmark/ICSharpCode.SharpZipLib.Benchmark/Program.cs b/benchmark/ICSharpCode.SharpZipLib.Benchmark/Program.cs index 6e37bcf34..dca463c24 100644 --- a/benchmark/ICSharpCode.SharpZipLib.Benchmark/Program.cs +++ b/benchmark/ICSharpCode.SharpZipLib.Benchmark/Program.cs @@ -11,8 +11,8 @@ public class MultipleRuntimes : ManualConfig { public MultipleRuntimes() { - Add(Job.Default.With(CsProjClassicNetToolchain.Net461).AsBaseline()); // NET 4.6.1 - Add(Job.Default.With(CsProjCoreToolchain.NetCoreApp21)); // .NET Core 2.1 + AddJob(Job.Default.WithToolchain(CsProjClassicNetToolchain.Net461).AsBaseline()); // NET 4.6.1 + AddJob(Job.Default.WithToolchain(CsProjCoreToolchain.NetCoreApp21)); // .NET Core 2.1 //Add(Job.Default.With(CsProjCoreToolchain.NetCoreApp30)); // .NET Core 3.0 } }