RecyclableList.Enumerator performance improvements to match List<T>'s performance. Dirty state.
This commit is contained in:
1 parent
51d3613ffd
commit
15cac80d2f
13 files changed
+683
-192
No files matched your search
@@ -23,17 +23,16 @@ public static class Program
|
||||
// ****************
|
||||
// *** Template ***
|
||||
// ****************
|
||||
//var benchmark = new RecyclableCollectionsBenchmarks();
|
||||
//benchmark.Setup();
|
||||
var benchmark = new RecyclableCollectionsBenchmarks();
|
||||
benchmark.Setup();
|
||||
|
||||
//foreach (var _ in Enumerable.Range(1, 1000))
|
||||
//{
|
||||
// benchmark.RecyclableLongList_Remove_FirstItems();
|
||||
// benchmark.RecyclableLongList_RemoveAt_LastItems();
|
||||
// benchmark.List_RemoveAt_LastItems();
|
||||
benchmark.List_ForEach();
|
||||
benchmark.RecyclableList_ForEach();
|
||||
//}
|
||||
|
||||
//benchmark.Cleanup();
|
||||
benchmark.Cleanup();
|
||||
}
|
||||
|
||||
static void RunPocBenchmarks()
|
||||
@@ -53,8 +52,8 @@ public static class Program
|
||||
static void Main(string[] args)
|
||||
{
|
||||
RunRecyclableCollectionsBenchmarks();
|
||||
// RunPocBenchmarks();
|
||||
// RunSelectedBenchmarks();
|
||||
// RunAssemblyBenchmarks();
|
||||
//RunPocBenchmarks();
|
||||
//RunSelectedBenchmarks();
|
||||
//RunAssemblyBenchmarks();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user