Skip to content

Commit 636ca0a

Browse files
author
Petr Sramek
committed
becnhmarks initialized throught switcher
1 parent 9f74710 commit 636ca0a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

benchmarks/PolylineAlgorithm.Benchmarks/Program.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ namespace PolylineAlgorithm.Benchmarks;
88
using BenchmarkDotNet.Running;
99

1010
internal class Program {
11-
static void Main(string[] _) {
12-
BenchmarkRunner
13-
.Run<PolylineBenchmark>();
11+
static void Main(string[] args) {
12+
BenchmarkSwitcher
13+
.FromAssembly(typeof(Program).Assembly)
14+
.Run(args);
1415
}
1516
}

0 commit comments

Comments
 (0)