Redundand benchmarks removed.
This commit is contained in:
1 parent
cc364c5fd7
commit
4d1c59f672
2 files changed
+1
-15
No files matched your search
@@ -4,20 +4,13 @@ namespace Recyclable.Collections.Benchmarks
|
|||||||
{
|
{
|
||||||
public partial class RecyclableCollectionsBenchmarks : BenchmarkBase
|
public partial class RecyclableCollectionsBenchmarks : BenchmarkBase
|
||||||
{
|
{
|
||||||
//[Benchmark(Baseline = true)]
|
[Benchmark(Baseline = true)]
|
||||||
public void List_Create()
|
public void List_Create()
|
||||||
{
|
{
|
||||||
var list = new List<object>();
|
var list = new List<object>();
|
||||||
DoNothing(list);
|
DoNothing(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
//[Benchmark]
|
|
||||||
public void List_Create_0Capacity()
|
|
||||||
{
|
|
||||||
var list = new List<object>(0);
|
|
||||||
DoNothing(list);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Benchmark]
|
[Benchmark]
|
||||||
public void List_Create_WithCapacity()
|
public void List_Create_WithCapacity()
|
||||||
{
|
{
|
||||||
|
|||||||
-7
@@ -39,13 +39,6 @@ namespace Recyclable.Collections.Benchmarks
|
|||||||
DoNothing(list);
|
DoNothing(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
//[Benchmark]
|
|
||||||
public void RecyclableArrayList_Create_0Capacity()
|
|
||||||
{
|
|
||||||
using var list = new RecyclableArrayList<object>(0);
|
|
||||||
DoNothing(list);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Benchmark]
|
[Benchmark]
|
||||||
public void RecyclableArrayList_Create_WithCapacity()
|
public void RecyclableArrayList_Create_WithCapacity()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user