Benchmarks reworked to save time on test data creation & have more comparable results against baseline.

This commit is contained in:
mlemanczyk committed 2023-05-07 14:52:37 +02:00
1 parent 73d3e32107
commit bb878caa39
35 files changed
+586 -418

No files matched your search

@@ -1,17 +1,13 @@
using BenchmarkDotNet.Attributes;
namespace Recyclable.Collections.Benchmarks
namespace Recyclable.Collections.Benchmarks
{
public partial class RecyclableCollectionsBenchmarks
{
//[Benchmark(Baseline = false)]
public void Array_LongCount()
{
var data = TestObjects;
DoNothing(data.LongLength);
}
//[Benchmark(Baseline = false)]
public void RecyclableList_LongCount()
{
var data = TestObjectsAsRecyclableList;