Added support for running benchmarks without baseline.
This commit is contained in:
1 parent
853a69fa4d
commit
8bef46f1cf
3 files changed
+5
-2
No files matched your search
@@ -94,7 +94,7 @@ namespace Recyclable.Collections.Benchmarks.POC
|
||||
{
|
||||
Console.WriteLine($"******* SETTING UP TEST CASE FOR BENCHMARK {{{BenchmarkType}}} *******");
|
||||
|
||||
if (BaselineBenchmarkType != null)
|
||||
if (!EqualityComparer<TBenchmarkType>.Default.Equals(BaselineBenchmarkType, default))
|
||||
{
|
||||
Console.WriteLine("******* SETTING UP BASELINE DATA *******");
|
||||
PrepareData(BaselineBenchmarkType);
|
||||
|
||||
Reference in new issue
Block a user