Program class fixed.
This commit is contained in:
1 parent
9895347630
commit
0c0682a6af
1 file changed
-21
@@ -25,26 +25,6 @@ public static class Program
|
|||||||
//var benchmark = new RecyclableCollectionsBenchmarks();
|
//var benchmark = new RecyclableCollectionsBenchmarks();
|
||||||
//benchmark.Setup();
|
//benchmark.Setup();
|
||||||
|
|
||||||
static void RunAssemblyBenchmarks()
|
|
||||||
{
|
|
||||||
_ = BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(new[] { "-f*" });
|
|
||||||
}
|
|
||||||
|
|
||||||
static void RunRecyclableCollectionsBenchmarks()
|
|
||||||
{
|
|
||||||
_ = BenchmarkRunner.Run<RecyclableCollectionsBenchmarks>(BenchmarkConfig);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void RunSelectedBenchmarks()
|
|
||||||
{
|
|
||||||
// ****************
|
|
||||||
// *** Template ***
|
|
||||||
// ****************
|
|
||||||
var benchmark = new RecyclableCollectionsBenchmarks();
|
|
||||||
benchmark.Setup();
|
|
||||||
benchmark.RecyclableLongList_IndexOf_BestAndWorstCases();
|
|
||||||
benchmark.Cleanup();
|
|
||||||
|
|
||||||
//foreach (var _ in Enumerable.Range(1, 1000))
|
//foreach (var _ in Enumerable.Range(1, 1000))
|
||||||
//{
|
//{
|
||||||
//benchmark.RecyclableLongList_Remove_FirstItems();
|
//benchmark.RecyclableLongList_Remove_FirstItems();
|
||||||
@@ -77,4 +57,3 @@ public static class Program
|
|||||||
// RunAssemblyBenchmarks();
|
// RunAssemblyBenchmarks();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
Reference in new issue
Block a user