List.ValueType.ListValueTypeSkipTakeSelect.md

February 14, 2024 ยท View on GitHub

List.ValueType.ListValueTypeSkipTakeSelect

Source

ListValueTypeSkipTakeSelect.cs

References:

Results:


BenchmarkDotNet v0.13.12, Windows 10 (10.0.19045.3996/22H2/2022Update)
Intel Core i7-7567U CPU 3.50GHz (Kaby Lake), 1 CPU, 4 logical and 2 physical cores
.NET SDK 9.0.100-preview.1.24101.2
  [Host]     : .NET 6.0.26 (6.0.2623.60508), X64 RyuJIT AVX2
  Job-THTHEP : .NET 8.0.0 (8.0.23.53103), X64 RyuJIT AVX2
  Job-OQLBIM : .NET 9.0.0 (9.0.24.8009), X64 RyuJIT AVX2


MethodRuntimeSkipCountMeanErrorStdDevMedianRatioRatioSDGen0AllocatedAlloc Ratio
ForLoop.NET 8.01000100161.7 ns2.47 ns2.06 ns161.2 nsbaseline--NA
Linq.NET 8.010001001,081.3 ns18.50 ns16.40 ns1,074.4 ns6.69x slower0.08x0.1526320 BNA
LinqFaster.NET 8.010001002,174.0 ns31.74 ns24.78 ns2,170.9 ns13.45x slower0.20x9.258319368 BNA
LinqFasterer.NET 8.010001006,330.2 ns124.05 ns304.30 ns6,189.5 ns39.52x slower2.49x38.459883304 BNA
LinqAF.NET 8.010001005,744.7 ns92.08 ns151.29 ns5,675.9 ns35.95x slower1.42x--NA
StructLinq.NET 8.01000100276.9 ns4.01 ns3.35 ns276.6 ns1.71x slower0.03x0.0572120 BNA
StructLinq_ValueDelegate.NET 8.01000100124.3 ns2.45 ns2.29 ns124.1 ns1.30x faster0.03x--NA
Hyperlinq.NET 8.01000100286.8 ns3.01 ns2.35 ns287.0 ns1.77x slower0.03x--NA
Hyperlinq_ValueDelegate.NET 8.01000100101.3 ns1.08 ns0.90 ns100.8 ns1.60x faster0.02x--NA
ForLoop.NET 9.01000100124.4 ns1.63 ns1.74 ns123.9 nsbaseline--NA
Linq.NET 9.010001001,094.0 ns21.81 ns23.34 ns1,084.2 ns8.80x slower0.19x0.1526320 BNA
LinqFaster.NET 9.010001002,191.7 ns30.25 ns26.81 ns2,180.1 ns17.59x slower0.27x9.258319368 BNA
LinqFasterer.NET 9.010001006,246.7 ns126.39 ns362.65 ns6,090.5 ns50.46x slower3.22x38.459883304 BNA
LinqAF.NET 9.010001004,900.5 ns97.14 ns151.24 ns4,845.2 ns39.19x slower0.95x--NA
StructLinq.NET 9.01000100262.9 ns4.60 ns6.14 ns261.3 ns2.12x slower0.06x0.0572120 BNA
StructLinq_ValueDelegate.NET 9.01000100125.8 ns0.86 ns0.72 ns125.8 ns1.01x slower0.02x--NA
Hyperlinq.NET 9.01000100282.8 ns3.56 ns2.78 ns282.2 ns2.27x slower0.05x--NA
Hyperlinq_ValueDelegate.NET 9.01000100109.4 ns1.86 ns2.61 ns108.3 ns1.14x faster0.04x--NA