Array.ValueType.ArrayValueTypeSkipTakeWhere.md

February 14, 2024 ยท View on GitHub

Array.ValueType.ArrayValueTypeSkipTakeWhere

Source

ArrayValueTypeSkipTakeWhere.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.0100010091.40 ns1.863 ns1.829 ns90.43 nsbaseline--NA
Linq.NET 8.01000100934.25 ns18.517 ns44.721 ns909.84 ns10.38x slower0.68x0.1526320 BNA
LinqFaster.NET 8.010001001,653.23 ns29.023 ns64.915 ns1,623.78 ns18.21x slower1.02x10.780322560 BNA
LinqFasterer.NET 8.010001001,101.42 ns18.186 ns14.199 ns1,097.03 ns12.03x slower0.36x4.65019744 BNA
LinqAF.NET 8.010001001,831.29 ns18.269 ns14.263 ns1,832.50 ns20.00x slower0.45x--NA
StructLinq.NET 8.01000100257.36 ns4.978 ns4.413 ns256.19 ns2.82x slower0.08x0.045896 BNA
StructLinq_ValueDelegate.NET 8.01000100126.53 ns1.305 ns1.157 ns126.34 ns1.38x slower0.04x--NA
Hyperlinq.NET 8.01000100276.42 ns2.350 ns1.962 ns276.11 ns3.02x slower0.07x--NA
Hyperlinq_ValueDelegate.NET 8.01000100107.60 ns1.418 ns1.184 ns107.23 ns1.18x slower0.03x--NA
ForLoop.NET 9.01000100143.47 ns2.281 ns2.022 ns143.26 nsbaseline--NA
Linq.NET 9.010001001,049.73 ns8.708 ns7.271 ns1,048.85 ns7.31x slower0.10x0.1526320 BNA
LinqFaster.NET 9.010001001,630.98 ns19.612 ns20.984 ns1,628.58 ns11.37x slower0.24x10.780322560 BNA
LinqFasterer.NET 9.010001001,101.94 ns17.394 ns13.580 ns1,097.89 ns7.67x slower0.13x4.65019744 BNA
LinqAF.NET 9.010001001,832.61 ns14.433 ns12.052 ns1,831.29 ns12.76x slower0.19x--NA
StructLinq.NET 9.01000100219.47 ns1.358 ns1.334 ns219.62 ns1.53x slower0.02x0.045896 BNA
StructLinq_ValueDelegate.NET 9.01000100108.21 ns2.144 ns3.975 ns106.30 ns1.33x faster0.03x--NA
Hyperlinq.NET 9.01000100241.94 ns2.668 ns3.176 ns240.76 ns1.69x slower0.03x--NA
Hyperlinq_ValueDelegate.NET 9.0100010095.83 ns1.885 ns2.095 ns95.19 ns1.49x faster0.05x--NA