Skip to content

Commit 5e56159

Browse files
author
Petr Sramek
committed
fix
1 parent 1bfcdff commit 5e56159

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

benchmarks/PolylineAlgorithm.Benchmarks/Program.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,20 @@
55

66
namespace PolylineAlgorithm.Benchmarks;
77

8+
using BenchmarkDotNet.Configs;
9+
using BenchmarkDotNet.Environments;
10+
using BenchmarkDotNet.Jobs;
811
using BenchmarkDotNet.Running;
912

1013
internal class Program {
1114
static void Main(string[] args) {
15+
var config = DefaultConfig.Instance
16+
.AddJob(Job.Default.WithRuntime(CoreRuntime.Core70))
17+
.AddJob(Job.Default.WithRuntime(CoreRuntime.Core80))
18+
.AddJob(Job.Default.WithRuntime(CoreRuntime.Core90));
19+
1220
BenchmarkSwitcher
1321
.FromAssembly(typeof(Program).Assembly)
14-
.Run(args);
22+
.Run(args, config);
1523
}
1624
}

0 commit comments

Comments
 (0)