Skip to content

Commit

Permalink
add baseline to benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
bfarmer67 committed Dec 16, 2024
1 parent 0bff10e commit 1e86767
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/Hyperbee.Expressions.Benchmark/AsyncBenchmarks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public void Setup()
_preRunCompiled = _lambda.Compile();
_preRunFastCompiled = _lambda.CompileFast();
_preRunNextCompiled = _nextlambda.Compile();

//_preRunFastNextCompiled = _nextlambda.CompileFast();

Warmup( _preRunCompiled, _preRunFastCompiled, _preRunNextCompiled );
Expand Down Expand Up @@ -96,7 +95,7 @@ public void Hyperbee_AsyncBlock_Compile()
}

[BenchmarkCategory( "Compile" )]
[Benchmark( Description = "Hyperbee Fast Compile" )]
[Benchmark( Description = "Hyperbee Fast Compile", Baseline = true )]
public void Hyperbee_AsyncBlock_FastCompile()
{
_lambda.CompileFast();
Expand All @@ -112,7 +111,7 @@ public void DotNext_AsyncLambda_Compile()
// Execute

[BenchmarkCategory( "Execute" )]
[Benchmark( Description = "Native Execute" )]
[Benchmark( Description = "Native Execute", Baseline = true )]
public async Task Native_Async_Execute()
{
await NativeTestAsync();
Expand Down

0 comments on commit 1e86767

Please sign in to comment.