List.ValueType.ListValueTypeSkipTakeWhere.md

February 14, 2024 ยท View on GitHub

List.ValueType.ListValueTypeSkipTakeWhere

Source

ListValueTypeSkipTakeWhere.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.01000100148.9 ns1.05 ns0.88 ns148.9 nsbaseline--NA
Linq.NET 8.01000100753.5 ns18.27 ns53.30 ns727.3 ns5.49x slower0.22x0.1526320 BNA
LinqFaster.NET 8.010001002,079.5 ns38.79 ns34.38 ns2,063.5 ns13.98x slower0.25x10.025021000 BNA
LinqFasterer.NET 8.010001005,603.2 ns105.18 ns133.02 ns5,566.1 ns37.46x slower0.88x37.735080168 BNA
LinqAF.NET 8.010001005,575.4 ns42.82 ns35.75 ns5,568.2 ns37.43x slower0.26x--NA
StructLinq.NET 8.01000100246.7 ns2.76 ns2.44 ns245.7 ns1.66x slower0.02x0.0572120 BNA
StructLinq_ValueDelegate.NET 8.01000100125.4 ns2.40 ns2.13 ns124.5 ns1.19x faster0.02x--NA
Hyperlinq.NET 8.01000100206.1 ns2.36 ns2.43 ns205.3 ns1.39x slower0.02x--NA
Hyperlinq_ValueDelegate.NET 8.01000100104.0 ns2.11 ns3.97 ns102.2 ns1.43x faster0.05x--NA
ForLoop.NET 9.01000100148.1 ns1.70 ns1.32 ns148.2 nsbaseline--NA
Linq.NET 9.01000100939.3 ns18.74 ns40.75 ns919.5 ns6.43x slower0.31x0.1526320 BNA
LinqFaster.NET 9.010001002,129.8 ns42.11 ns101.71 ns2,091.5 ns14.71x slower0.82x10.025021000 BNA
LinqFasterer.NET 9.010001005,714.2 ns112.76 ns256.80 ns5,635.3 ns39.12x slower1.91x37.735080168 BNA
LinqAF.NET 9.010001004,558.9 ns84.12 ns106.38 ns4,510.8 ns30.74x slower0.98x--NA
StructLinq.NET 9.01000100223.4 ns2.79 ns3.21 ns222.4 ns1.51x slower0.04x0.0572120 BNA
StructLinq_ValueDelegate.NET 9.01000100105.9 ns2.14 ns2.37 ns104.8 ns1.39x faster0.04x--NA
Hyperlinq.NET 9.01000100243.9 ns1.04 ns0.81 ns243.8 ns1.65x slower0.02x--NA
Hyperlinq_ValueDelegate.NET 9.01000100128.7 ns1.58 ns1.48 ns128.5 ns1.15x faster0.01x--NA