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 06f9795 commit 654a994Copy full SHA for 654a994
1 file changed
src/Examine.Benchmarks/Program.cs
@@ -10,12 +10,12 @@ namespace Examine.Benchmarks
10
{
11
public class Program
12
13
- public static async Task Main(string[] args)
14
- {
15
#if RELEASE
16
- // Benchmark your function here.
+ public static void Main(string[] args) =>
17
BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
18
#else
+ public static async Task Main(string[] args)
+ {
19
var bench = new SearchVersionComparison();
20
try
21
@@ -27,10 +27,9 @@ public static async Task Main(string[] args)
27
28
bench.TearDown();
29
}
30
-
+ }
31
#endif
32
- // Call your function here.
33
- }
+ // Call your function here.
34
35
#if LocalBuild
36
private static async Task Threads100(ConcurrentSearchBenchmarks bench)
0 commit comments