RecyclableCollectionsBenchmarks split into multiple files.
This commit is contained in:
1 parent
0449700244
commit
3cb0a47c60
28 files changed
+1253
-1042
No files matched your search
@@ -0,0 +1,22 @@
|
||||
using BenchmarkDotNet.Attributes;
|
||||
|
||||
namespace Recyclable.Collections.Benchmarks
|
||||
{
|
||||
public partial class RecyclableCollectionsBenchmarks
|
||||
{
|
||||
//[Benchmark(Baseline = false)]
|
||||
public void Array_LongCount()
|
||||
{
|
||||
var data = _testArray;
|
||||
DoNothing(data.LongLength);
|
||||
}
|
||||
|
||||
//[Benchmark(Baseline = false)]
|
||||
public void RecyclableList_LongCount()
|
||||
{
|
||||
var data = _testRecyclableList;
|
||||
DoNothing(data.LongCount);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user