Skip to content

Commit 1f02831

Browse files
committed
[Infra] Update benchmark from 0.11.5 to 0.12.0
1 parent 18cf50a commit 1f02831

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

Build/Common.Benchmark.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="BenchmarkDotNet" Version="0.11.5" />
12-
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.11.5" />
11+
<PackageReference Include="BenchmarkDotNet" Version="0.12.0" />
12+
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.12.0" />
1313
</ItemGroup>
1414

1515
<Import Project="$(RootDir)\Build\DeleteGenerateBindingRedirects.target"/>
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
using BenchmarkDotNet.Running;
1+
using System;
2+
using BenchmarkDotNet.Running;
23

34
namespace StructLinq.Benchmark
45
{
56
public class Program
67
{
7-
public static void Main(string[] args) => BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
8+
public static void Main(string[] args)
9+
{
10+
BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
11+
Console.ReadLine();
12+
}
813
}
914
}

0 commit comments

Comments
 (0)