Array.Int32.ArrayInt32SkipTakeSelect.md

February 14, 2024 ยท View on GitHub

Array.Int32.ArrayInt32SkipTakeSelect

Source

ArrayInt32SkipTakeSelect.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


MethodRuntimeSkipCountMeanErrorStdDevRatioRatioSDGen0AllocatedAlloc Ratio
ForLoop.NET 8.0100010057.16 ns1.030 ns0.913 nsbaseline--NA
Linq.NET 8.01000100576.83 ns9.565 ns7.467 ns10.08x slower0.20x0.0725152 BNA
LinqFaster.NET 8.01000100259.46 ns4.175 ns3.259 ns4.53x slower0.10x0.60801272 BNA
LinqFasterer.NET 8.01000100401.93 ns5.437 ns4.245 ns7.02x slower0.11x0.4206880 BNA
LinqAF.NET 8.01000100916.62 ns9.007 ns7.032 ns16.02x slower0.32x--NA
StructLinq.NET 8.01000100112.90 ns1.213 ns1.013 ns1.97x slower0.04x0.045896 BNA
StructLinq_ValueDelegate.NET 8.0100010061.64 ns0.877 ns0.777 ns1.08x slower0.02x--NA
Hyperlinq.NET 8.01000100139.18 ns1.633 ns1.364 ns2.43x slower0.04x--NA
Hyperlinq_ValueDelegate.NET 8.0100010051.02 ns1.023 ns0.957 ns1.12x faster0.03x--NA
ForLoop.NET 9.0100010057.64 ns0.695 ns0.542 nsbaseline--NA
Linq.NET 9.01000100640.65 ns12.464 ns11.049 ns11.11x slower0.25x0.0725152 BNA
LinqFaster.NET 9.01000100268.85 ns3.255 ns2.885 ns4.65x slower0.05x0.60801272 BNA
LinqFasterer.NET 9.01000100374.90 ns7.531 ns16.049 ns6.41x slower0.30x0.4206880 BNA
LinqAF.NET 9.01000100793.30 ns11.728 ns14.403 ns13.70x slower0.15x--NA
StructLinq.NET 9.01000100101.60 ns1.486 ns1.652 ns1.76x slower0.04x0.045996 BNA
StructLinq_ValueDelegate.NET 9.0100010061.70 ns0.519 ns0.461 ns1.07x slower0.01x--NA
Hyperlinq.NET 9.0100010070.75 ns0.420 ns0.372 ns1.23x slower0.01x--NA
Hyperlinq_ValueDelegate.NET 9.0100010062.02 ns0.409 ns0.341 ns1.08x slower0.01x--NA