Benchmark list updated for current runs.
This commit is contained in:
1 parent
cbac777e43
commit
64be78d1c6
3 files changed
+35
-13
No files matched your search
@@ -14,7 +14,7 @@ namespace Recyclable.Collections.Benchmarks
|
||||
[Benchmark]
|
||||
public void RecyclableList_Create_WithCapacity()
|
||||
{
|
||||
using var list = new RecyclableList<object>(initialCapacity: TestObjectCount);
|
||||
using var list = new RecyclableList<object>(blockSize: 102_400, initialCapacity: TestObjectCount);
|
||||
DoNothing(list);
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace Recyclable.Collections.Benchmarks
|
||||
{
|
||||
var data = TestObjects;
|
||||
var dataCount = TestObjectCount;
|
||||
using var list = new RecyclableList<object>(initialCapacity: dataCount);
|
||||
using var list = new RecyclableList<object>(blockSize: 102_400, initialCapacity: dataCount);
|
||||
for (var i = 0; i < dataCount; i++)
|
||||
{
|
||||
list.Add(data[i]);
|
||||
|
||||
Reference in new issue
Block a user