Skip to content

Commit

Permalink
warnings as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Shazwazza committed Nov 21, 2024
1 parent 06f9795 commit 654a994
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/Examine.Benchmarks/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ namespace Examine.Benchmarks
{
public class Program
{
public static async Task Main(string[] args)
{
#if RELEASE
// Benchmark your function here.
public static void Main(string[] args) =>
BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
#else
public static async Task Main(string[] args)
{
var bench = new SearchVersionComparison();
try
{
Expand All @@ -27,10 +27,9 @@ public static async Task Main(string[] args)
{
bench.TearDown();
}

}
#endif
// Call your function here.
}
// Call your function here.

#if LocalBuild
private static async Task Threads100(ConcurrentSearchBenchmarks bench)
Expand Down

0 comments on commit 654a994

Please sign in to comment.