Default constructor added to RecyclableCollections benchmarks to allow lack of initialization when selected benchmarks are executed.
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user