Array.Int32.ArrayInt32SkipTakeWhere.md

February 14, 2024 ยท View on GitHub

Array.Int32.ArrayInt32SkipTakeWhere

Source

ArrayInt32SkipTakeWhere.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.0100010089.51 ns1.785 ns2.125 ns88.85 nsbaseline--NA
Linq.NET 8.01000100862.16 ns16.917 ns14.997 ns855.05 ns9.58x slower0.32x0.0725152 BNA
LinqFaster.NET 8.01000100219.97 ns4.432 ns9.913 ns216.26 ns2.45x slower0.07x0.71911504 BNA
LinqFasterer.NET 8.01000100279.36 ns2.785 ns2.325 ns278.60 ns3.10x slower0.09x0.3285688 BNA
LinqAF.NET 8.01000100950.26 ns11.955 ns9.983 ns949.21 ns10.54x slower0.33x--NA
StructLinq.NET 8.01000100151.07 ns1.310 ns1.094 ns150.95 ns1.68x slower0.05x0.045896 BNA
StructLinq_ValueDelegate.NET 8.0100010091.63 ns1.846 ns2.400 ns90.73 ns1.02x slower0.03x--NA
Hyperlinq.NET 8.01000100160.01 ns1.578 ns1.318 ns159.77 ns1.77x slower0.05x--NA
Hyperlinq_ValueDelegate.NET 8.0100010078.10 ns1.451 ns2.464 ns77.11 ns1.15x faster0.03x--NA
ForLoop.NET 9.0100010089.26 ns0.701 ns0.547 ns89.24 nsbaseline--NA
Linq.NET 9.01000100872.27 ns8.952 ns8.374 ns871.45 ns9.78x slower0.07x0.0725152 BNA
LinqFaster.NET 9.01000100291.70 ns5.861 ns8.951 ns287.87 ns3.27x slower0.07x0.71911504 BNA
LinqFasterer.NET 9.01000100301.90 ns5.745 ns5.093 ns299.84 ns3.39x slower0.07x0.3285688 BNA
LinqAF.NET 9.01000100936.47 ns16.650 ns13.904 ns930.63 ns10.49x slower0.16x--NA
StructLinq.NET 9.01000100130.08 ns1.444 ns1.418 ns130.26 ns1.46x slower0.02x0.045896 BNA
StructLinq_ValueDelegate.NET 9.0100010094.50 ns1.522 ns1.811 ns93.81 ns1.06x slower0.03x--NA
Hyperlinq.NET 9.01000100135.33 ns0.705 ns0.589 ns135.41 ns1.52x slower0.01x--NA
Hyperlinq_ValueDelegate.NET 9.0100010082.81 ns1.635 ns1.817 ns82.29 ns1.08x faster0.03x--NA