From 4ea8e20f0accc7230eede55be47966954f016858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Lema=C5=84czyk?= Date: Wed, 1 Mar 2023 00:44:08 +0100 Subject: [PATCH] Compilation error fix when using manual benchmark execution. Additional benchmark method added. --- Recyclable.Collections.Benchmarks/Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Recyclable.Collections.Benchmarks/Program.cs b/Recyclable.Collections.Benchmarks/Program.cs index c5afe52..95a70b3 100644 --- a/Recyclable.Collections.Benchmarks/Program.cs +++ b/Recyclable.Collections.Benchmarks/Program.cs @@ -10,7 +10,7 @@ using Recyclable.Collections.Benchmarks; internal class Program { - void RunBenchmark() + static void RunBenchmark() { var benchmark = new RecyclableCollectionsBenchmarks(); benchmark.Setup(); @@ -24,6 +24,7 @@ internal class Program //benchmark.RecyclableList_Create_WithCapacity(); //benchmark.RecyclableList_Add(); //benchmark.RecyclableList_Add_WithCapacity(); + benchmark.RecyclableList_Contains_LastItems(); } benchmark.Cleanup();