Array.ValueType.ArrayValueTypeSkipTakeSelect.md

February 14, 2024 ยท View on GitHub

Array.ValueType.ArrayValueTypeSkipTakeSelect

Source

ArrayValueTypeSkipTakeSelect.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.01000100122.7 ns1.55 ns1.29 ns122.1 nsbaseline--NA
Linq.NET 8.010001001,286.1 ns16.76 ns13.99 ns1,279.3 ns10.48x slower0.19x0.1526320 BNA
LinqFaster.NET 8.010001001,608.9 ns30.26 ns77.01 ns1,579.5 ns13.26x slower0.74x9.201019272 BNA
LinqFasterer.NET 8.010001001,599.5 ns31.14 ns54.53 ns1,579.1 ns12.90x slower0.47x6.153112880 BNA
LinqAF.NET 8.010001002,436.5 ns27.40 ns24.29 ns2,426.1 ns19.87x slower0.24x--NA
StructLinq.NET 8.01000100293.0 ns3.42 ns2.67 ns292.4 ns2.39x slower0.04x0.045896 BNA
StructLinq_ValueDelegate.NET 8.01000100113.8 ns1.91 ns1.59 ns113.1 ns1.08x faster0.02x--NA
Hyperlinq.NET 8.01000100288.1 ns4.66 ns3.89 ns287.6 ns2.35x slower0.04x--NA
Hyperlinq_ValueDelegate.NET 8.01000100101.2 ns1.46 ns1.22 ns100.8 ns1.21x faster0.02x--NA
ForLoop.NET 9.01000100123.9 ns1.53 ns1.20 ns123.9 nsbaseline--NA
Linq.NET 9.010001001,196.7 ns8.43 ns6.59 ns1,195.2 ns9.66x slower0.11x0.1526320 BNA
LinqFaster.NET 9.010001001,598.6 ns30.75 ns65.53 ns1,572.3 ns12.85x slower0.45x9.201019272 BNA
LinqFasterer.NET 9.010001001,514.9 ns26.58 ns29.54 ns1,505.5 ns12.27x slower0.24x6.153112880 BNA
LinqAF.NET 9.010001002,494.6 ns49.12 ns77.91 ns2,473.1 ns19.85x slower0.77x--NA
StructLinq.NET 9.01000100254.7 ns4.22 ns3.29 ns253.2 ns2.05x slower0.04x0.045896 BNA
StructLinq_ValueDelegate.NET 9.01000100164.6 ns2.18 ns2.42 ns163.4 ns1.33x slower0.02x--NA
Hyperlinq.NET 9.01000100300.5 ns3.58 ns2.99 ns299.9 ns2.42x slower0.03x--NA
Hyperlinq_ValueDelegate.NET 9.01000100108.9 ns2.15 ns1.90 ns108.3 ns1.14x faster0.02x--NA