Skip to content

Commit 3dbae10

Browse files
authored
Merge pull request #380 from prom-client-net/renovate/benchmarkdotnet-0.x
Bump BenchmarkDotNet to 0.15.8
2 parents c20eca1 + 13dfbc8 commit 3dbae10

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/Prometheus.Client.Benchmarks.Comparison/Prometheus.Client.Benchmarks.Comparison.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<NoWarn>$(NoWarn);SA1133</NoWarn>
77
</PropertyGroup>
88
<ItemGroup>
9-
<PackageReference Include="BenchmarkDotNet" Version="0.15.6" />
9+
<PackageReference Include="BenchmarkDotNet" Version="0.15.8" />
1010
<PackageReference Include="prometheus-net" Version="8.2.1" />
1111
</ItemGroup>
1212
<ItemGroup>

tests/Prometheus.Client.Benchmarks/Prometheus.Client.Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<OutputType>Exe</OutputType>
77
</PropertyGroup>
88
<ItemGroup>
9-
<PackageReference Include="BenchmarkDotNet" Version="0.15.6" />
9+
<PackageReference Include="BenchmarkDotNet" Version="0.15.8" />
1010
</ItemGroup>
1111
<ItemGroup>
1212
<ProjectReference Include="..\..\src\Prometheus.Client\Prometheus.Client.csproj" />

tests/Prometheus.Client.Benchmarks/Summary/SummaryCreation.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ public void Setup()
1616
}
1717

1818
[Benchmark]
19-
public ISummary Creation(int i)
19+
public ISummary Creation()
2020
{
21-
return _factory.CreateSummary($"summary1_{i.ToString()}", string.Empty);
21+
return _factory.CreateSummary("summary1", string.Empty);
2222
}
2323

2424
[Benchmark]

0 commit comments

Comments
 (0)