We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bfcdff commit 5e56159Copy full SHA for 5e56159
benchmarks/PolylineAlgorithm.Benchmarks/Program.cs
@@ -5,12 +5,20 @@
5
6
namespace PolylineAlgorithm.Benchmarks;
7
8
+using BenchmarkDotNet.Configs;
9
+using BenchmarkDotNet.Environments;
10
+using BenchmarkDotNet.Jobs;
11
using BenchmarkDotNet.Running;
12
13
internal class Program {
14
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
+
20
BenchmarkSwitcher
21
.FromAssembly(typeof(Program).Assembly)
- .Run(args);
22
+ .Run(args, config);
23
}
24
0 commit comments