Skip to content

Commit 048d9d3

Browse files
committed
updated benchmarks
1 parent d87bff3 commit 048d9d3

4 files changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ jobs:
196196
name: build
197197
- name: Benchmark
198198
working-directory: ${{ vars.BENCHMARKDOTNET_WORKING_DIRECTORY }}
199-
run: dotnet run --configuration ${{ env.build-configuration }} /p:Platform=${{ env.build-platform }} --framework ${{ vars.DEFAULT_BUILD_FRAMEWORK }} --runtimes ${{ vars.BENCHMARKDOTNET_RUNTIMES }} --filter ${{ vars.BENCHMARKDOTNET_FILTER }} --exporters GitHub --memory --artifacts ${{ runner.temp }}/benchmarks/ --join
199+
run: dotnet run --configuration ${{ env.build-configuration }} /p:Platform=${{ env.build-platform }} --framework ${{ vars.DEFAULT_BUILD_FRAMEWORK }} --runtimes ${{ vars.BENCHMARKDOTNET_RUNTIMES }} --filter ${{ vars.BENCHMARKDOTNET_FILTER }} --artifacts ${{ runner.temp }}/benchmarks/ --exporters GitHub --memory --iterationTime 200 --join
200200
- name: Upload Benchmark Results
201201
uses: actions/upload-artifact@v4
202202
with:

benchmarks/PolylineAlgorithm.Benchmarks/PolylineBenchmark.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ namespace PolylineAlgorithm.Benchmarks;
77

88
using BenchmarkDotNet.Attributes;
99
using BenchmarkDotNet.Engines;
10+
using BenchmarkDotNet.Order;
1011
using PolylineAlgorithm;
1112
using PolylineAlgorithm.Utility;
1213

1314
/// <summary>
1415
/// Benchmarks for the <see cref="PolylineValue"/> struct.
1516
/// </summary>
16-
[RankColumn]
17-
[ShortRunJob]
1817
public class PolylineBenchmark {
1918
private static readonly Consumer consumer = new();
2019

benchmarks/PolylineAlgorithm.Benchmarks/PolylineDecoderBenchmark.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,13 @@ namespace PolylineAlgorithm.Benchmarks;
77

88
using BenchmarkDotNet.Attributes;
99
using BenchmarkDotNet.Engines;
10+
using BenchmarkDotNet.Order;
1011
using PolylineAlgorithm;
1112
using PolylineAlgorithm.Utility;
1213

1314
/// <summary>
1415
/// Benchmarks for the <see cref="PolylineDecoder"/> class.
1516
/// </summary>
16-
[RankColumn]
17-
[ShortRunJob]
1817
public class PolylineDecoderBenchmark {
1918
private readonly Consumer _consumer = new();
2019

benchmarks/PolylineAlgorithm.Benchmarks/PolylineEncoderBenchmark.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@
66
namespace PolylineAlgorithm.Benchmarks;
77

88
using BenchmarkDotNet.Attributes;
9+
using BenchmarkDotNet.Order;
910
using PolylineAlgorithm;
1011
using PolylineAlgorithm.Utility;
1112
using System.Collections.Generic;
1213

1314
/// <summary>
1415
/// Benchmarks for the <see cref="PolylineEncoder"/> class.
1516
/// </summary>
16-
[RankColumn]
17-
[ShortRunJob]
1817
public class PolylineEncoderBenchmark {
1918
[Params(1, 100, 1_000)]
2019
public int Count;

0 commit comments

Comments
 (0)