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
+8 -1
@@ -14,7 +14,14 @@ namespace Recyclable.Collections.Benchmarks
public partial class RecyclableCollectionsBenchmarks : RecyclableBenchmarkBase<RecyclableCollectionsBenchmarkSource>
{
[Params
public RecyclableCollectionsBenchmarks() : base()
{
TestObjectCount = 1;
BaselineBenchmarkType = RecyclableCollectionsBenchmarkSource.PooledList;
BenchmarkType = RecyclableCollectionsBenchmarkSource.RecyclableList;
}
[Params
(
RecyclableCollectionsBenchmarkType.Add_WithCapacity,
RecyclableCollectionsBenchmarkType.Add,