Tiny cleanup
This commit is contained in:
1 parent
fa8f1b029a
commit
26f9666df6
2 files changed
+3
-2
No files matched your search
@@ -91,7 +91,7 @@ namespace Recyclable.Collections.Benchmarks.POC
|
|||||||
|
|
||||||
if (BaselineBenchmarkType != null)
|
if (BaselineBenchmarkType != null)
|
||||||
{
|
{
|
||||||
Console.WriteLine($"******* SETTING UP BASELINE DATA *******");
|
Console.WriteLine("******* SETTING UP BASELINE DATA *******");
|
||||||
PrepareData(BaselineBenchmarkType);
|
PrepareData(BaselineBenchmarkType);
|
||||||
_baselineMethod = GetTestMethod(BaselineBenchmarkType);
|
_baselineMethod = GetTestMethod(BaselineBenchmarkType);
|
||||||
}
|
}
|
||||||
@@ -100,7 +100,7 @@ namespace Recyclable.Collections.Benchmarks.POC
|
|||||||
//~ One would override another - waste of time & resources.
|
//~ One would override another - waste of time & resources.
|
||||||
if (!EqualityComparer<TBenchmarkType>.Default.Equals(BaselineBenchmarkType, BenchmarkType))
|
if (!EqualityComparer<TBenchmarkType>.Default.Equals(BaselineBenchmarkType, BenchmarkType))
|
||||||
{
|
{
|
||||||
Console.WriteLine($"******* SETTING UP TEST CASE DATA *******");
|
Console.WriteLine("******* SETTING UP TEST CASE DATA *******");
|
||||||
//~ If BaselineBenchmarkType == null, then we'll come here only if BaselineBenchmarkType != null.
|
//~ If BaselineBenchmarkType == null, then we'll come here only if BaselineBenchmarkType != null.
|
||||||
PrepareData(BenchmarkType!);
|
PrepareData(BenchmarkType!);
|
||||||
_testMethod = GetTestMethod(BenchmarkType);
|
_testMethod = GetTestMethod(BenchmarkType);
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ namespace Recyclable.Collections.Parallel
|
|||||||
public sealed class ParallelSynchronizationContext : IDisposable
|
public sealed class ParallelSynchronizationContext : IDisposable
|
||||||
{
|
{
|
||||||
public readonly ManualResetEventSlimmer ItemFoundSignal;
|
public readonly ManualResetEventSlimmer ItemFoundSignal;
|
||||||
|
|
||||||
public readonly Barrier AllDoneSignal;
|
public readonly Barrier AllDoneSignal;
|
||||||
public long FoundItemIndex;
|
public long FoundItemIndex;
|
||||||
public Exception? Exception;
|
public Exception? Exception;
|
||||||
|
|||||||
Reference in new issue
Block a user