Skip to content

Latest commit

 

History

History
49 lines (46 loc) · 4.21 KB

collections.org

File metadata and controls

49 lines (46 loc) · 4.21 KB

Collections

TypeMethodtypeMeanErrorStdDev
**ImmutableArrayCollection**FindFirstSmall12,523.6 ns217.37 ns213.49 ns
ImmutableListCollectionFindFirstSmall83,135.6 ns1,053.12 ns985.09 ns
LinkedListCollectionFindFirstSmall45,599.6 ns774.04 ns646.35 ns
ListCollectionFindFirstSmall13,189.1 ns245.72 ns229.85 ns
ReadOnlyCollectionFindFirstSmall14,393.4 ns228.33 ns271.81 ns
**ImmutableArrayCollection**FindLastSmall720,591.4 ns14,307.67 ns13,383.40 ns
ImmutableListCollectionFindLastSmall8,198,595.4 ns146,227.39 ns129,626.77 ns
LinkedListCollectionFindLastSmall2,775,011.7 ns49,695.28 ns46,485.00 ns
ListCollectionFindLastSmall727,183.6 ns14,296.22 ns13,372.69 ns
ReadOnlyCollectionFindLastSmall1,487,886.7 ns29,238.04 ns34,805.81 ns
**ImmutableArrayCollection**FilterSmall2,351.7 ns37.87 ns33.57 ns
ImmutableListCollectionFilterSmall75,221.6 ns1,233.55 ns1,468.46 ns
LinkedListCollectionFilterSmall54,610.1 ns1,073.87 ns1,505.42 ns
ListCollectionFilterSmall2,448.3 ns49.03 ns63.76 ns
ReadOnlyCollectionFilterSmall306.4 ns5.89 ns7.45 ns
ImmutableArrayCollectionFindFirstLarge252,812.0 ns4,711.23 ns4,406.89 ns
ImmutableListCollectionFindFirstLarge1,388,034.1 ns27,351.53 ns31,498.06 ns
LinkedListCollectionFindFirstLarge1,109,264.1 ns21,481.75 ns22,060.18 ns
ListCollectionFindFirstLarge260,819.3 ns5,156.08 ns5,730.97 ns
**ReadOnlyCollection**FindFirstLarge16,801.2 ns309.93 ns402.99 ns
ImmutableArrayCollectionFindLastLarge33,874,376.2 ns613,335.66 ns573,714.56 ns
ImmutableListCollectionFindLastLarge283,879,305.0 ns5,481,752.45 ns6,312,794.28 ns
LinkedListCollectionFindLastLarge98,087,332.7 ns1,958,853.28 ns2,809,328.84 ns
**ListCollection**FindLastLarge33,360,925.0 ns651,335.79 ns954,719.55 ns
ReadOnlyCollectionFindLastLarge56,678,133.9 ns1,117,417.17 ns1,286,819.27 ns
ImmutableArrayCollectionFilterLarge464,333.5 ns4,158.76 ns3,246.89 ns
ImmutableListCollectionFilterLarge2,426,227.2 ns46,369.76 ns45,541.30 ns
LinkedListCollectionFilterLarge2,156,584.5 ns40,422.55 ns37,811.28 ns
ListCollectionFilterLarge464,362.0 ns5,981.92 ns5,595.49 ns
**ReadOnlyCollection**FilterLarge295.9 ns5.87 ns9.14 ns

Summary

BenchmarkDotNet=v0.13.1, OS=Windows 10.0.19044.1415 (21H2) Intel Xeon Gold 6130 CPU 2.10GHz, 1 CPU, 4 logical and 4 physical cores .NET SDK=6.0.101 [Host] : .NET 6.0.1 (6.0.121.56705), X64 RyuJIT DefaultJob : .NET 6.0.1 (6.0.121.56705), X64 RyuJIT