-
Notifications
You must be signed in to change notification settings - Fork 735
/
Program.cs
31 lines (26 loc) · 946 Bytes
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Linq;
using BenchmarkDotNet.Running;
namespace Benchmarks.System.Interactive
{
internal class Program
{
internal static void Main()
{
Console.WriteLine("Effective Ix-version: " + typeof(EnumerableEx).Assembly.GetName().Version);
//Available compiler directives: IX3_1_1, IX3_2, CURRENT.
var switcher = new BenchmarkSwitcher(new[] {
typeof(BufferCountBenchmark),
typeof(IgnoreElementsBenchmark),
typeof(DeferBenchmark),
typeof(RetryBenchmark),
typeof(MinMaxBenchmark)
});
switcher.Run();
Console.ReadLine();
}
}
}