List.Int32.ListInt32SkipTakeWhere.md

February 14, 2024 ยท View on GitHub

List.Int32.ListInt32SkipTakeWhere

Source

ListInt32SkipTakeWhere.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.01000100116.90 ns2.322 ns3.179 nsbaseline--NA
Linq.NET 8.01000100431.75 ns8.594 ns16.558 ns3.74x slower0.13x0.0725152 BNA
LinqFaster.NET 8.01000100685.74 ns7.211 ns5.630 ns5.83x slower0.18x0.74581560 BNA
LinqFasterer.NET 8.01000100550.38 ns10.893 ns12.968 ns4.69x slower0.18x2.44245112 BNA
LinqAF.NET 8.010001002,568.74 ns18.626 ns15.554 ns21.88x slower0.66x--NA
StructLinq.NET 8.01000100197.75 ns3.557 ns4.369 ns1.69x slower0.06x0.045896 BNA
StructLinq_ValueDelegate.NET 8.0100010076.82 ns1.333 ns1.482 ns1.53x faster0.05x--NA
Hyperlinq.NET 8.01000100124.92 ns2.399 ns2.463 ns1.06x slower0.04x--NA
Hyperlinq_ValueDelegate.NET 8.0100010068.46 ns0.745 ns0.622 ns1.72x faster0.06x--NA
ForLoop.NET 9.01000100115.61 ns2.267 ns1.893 nsbaseline--NA
Linq.NET 9.01000100644.86 ns7.060 ns5.895 ns5.58x slower0.11x0.0725152 BNA
LinqFaster.NET 9.01000100732.80 ns9.337 ns14.536 ns6.35x slower0.11x0.74581560 BNA
LinqFasterer.NET 9.01000100589.26 ns4.737 ns3.956 ns5.10x slower0.09x2.44245112 BNA
LinqAF.NET 9.010001002,631.52 ns18.558 ns14.489 ns22.74x slower0.42x--NA
StructLinq.NET 9.01000100144.72 ns1.853 ns2.474 ns1.26x slower0.03x0.045896 BNA
StructLinq_ValueDelegate.NET 9.01000100106.84 ns2.176 ns2.329 ns1.08x faster0.02x--NA
Hyperlinq.NET 9.01000100110.46 ns2.185 ns3.270 ns1.04x faster0.03x--NA
Hyperlinq_ValueDelegate.NET 9.0100010078.18 ns1.550 ns1.591 ns1.48x faster0.05x--NA