Skip to content

Commit aa97f8a

Browse files
authored
Merge PR #441: Update the benchmark project to BenchmarkDotNet 0.12.1
1 parent b54b511 commit aa97f8a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

benchmark/ICSharpCode.SharpZipLib.Benchmark/ICSharpCode.SharpZipLib.Benchmark.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<ItemGroup>
99
<PackageReference Include="BenchmarkDotNet">
10-
<Version>0.11.4</Version>
10+
<Version>0.12.1</Version>
1111
</PackageReference>
1212
</ItemGroup>
1313

benchmark/ICSharpCode.SharpZipLib.Benchmark/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ public class MultipleRuntimes : ManualConfig
1111
{
1212
public MultipleRuntimes()
1313
{
14-
Add(Job.Default.With(CsProjClassicNetToolchain.Net461).AsBaseline()); // NET 4.6.1
15-
Add(Job.Default.With(CsProjCoreToolchain.NetCoreApp21)); // .NET Core 2.1
14+
AddJob(Job.Default.WithToolchain(CsProjClassicNetToolchain.Net461).AsBaseline()); // NET 4.6.1
15+
AddJob(Job.Default.WithToolchain(CsProjCoreToolchain.NetCoreApp21)); // .NET Core 2.1
1616
//Add(Job.Default.With(CsProjCoreToolchain.NetCoreApp30)); // .NET Core 3.0
1717
}
1818
}

0 commit comments

Comments
 (0)