Default constructor added to RecyclableCollections benchmarks to allow lack of initialization when selected benchmarks are executed.

This commit is contained in:
mlemanczyk committed 2023-05-13 20:51:29 +02:00
1 parent 735503d664
commit 1056e9b575
1 file changed
+7
@@ -14,6 +14,13 @@ namespace Recyclable.Collections.Benchmarks
public partial class RecyclableCollectionsBenchmarks : RecyclableBenchmarkBase<RecyclableCollectionsBenchmarkSource> public partial class RecyclableCollectionsBenchmarks : RecyclableBenchmarkBase<RecyclableCollectionsBenchmarkSource>
{ {
public RecyclableCollectionsBenchmarks() : base()
{
TestObjectCount = 1;
BaselineBenchmarkType = RecyclableCollectionsBenchmarkSource.PooledList;
BenchmarkType = RecyclableCollectionsBenchmarkSource.RecyclableList;
}
[Params [Params
( (
RecyclableCollectionsBenchmarkType.Add_WithCapacity, RecyclableCollectionsBenchmarkType.Add_WithCapacity,