List.ValueType.ListValueTypeWhere.md

February 14, 2024 ยท View on GitHub

List.ValueType.ListValueTypeWhere

Source

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


MethodRuntimeCountMeanErrorStdDevMedianRatioRatioSDGen0AllocatedAlloc Ratio
ForLoop.NET 8.0100147.71 ns1.583 ns1.236 ns147.70 nsbaseline--NA
ForeachLoop.NET 8.0100136.47 ns2.015 ns1.682 ns135.87 ns1.08x faster0.01x--NA
Linq.NET 8.0100776.58 ns12.998 ns10.854 ns773.29 ns5.26x slower0.09x0.0877184 BNA
LinqFaster.NET 8.0100881.00 ns17.646 ns49.770 ns855.90 ns5.97x slower0.33x3.86058088 BNA
LinqFasterer.NET 8.0100993.18 ns19.526 ns29.225 ns993.59 ns6.81x slower0.25x4.73799936 BNA
LinqAF.NET 8.0100494.50 ns3.185 ns2.979 ns493.08 ns3.35x slower0.04x--NA
StructLinq.NET 8.0100227.97 ns3.510 ns3.283 ns226.68 ns1.55x slower0.03x0.019140 BNA
StructLinq_ValueDelegate.NET 8.0100131.78 ns1.070 ns0.948 ns131.57 ns1.12x faster0.01x--NA
Hyperlinq.NET 8.0100249.35 ns2.187 ns2.045 ns248.69 ns1.69x slower0.02x--NA
Hyperlinq_ValueDelegate.NET 8.0100125.35 ns0.948 ns0.886 ns124.91 ns1.18x faster0.01x--NA
Faslinq.NET 8.0100902.18 ns17.695 ns17.379 ns897.54 ns6.14x slower0.10x3.86058088 BNA
ForLoop.NET 9.0100147.69 ns1.737 ns1.540 ns147.27 nsbaseline--NA
ForeachLoop.NET 9.0100135.79 ns1.101 ns0.919 ns135.57 ns1.09x faster0.01x--NA
Linq.NET 9.0100765.78 ns10.943 ns11.238 ns761.57 ns5.19x slower0.11x0.0877184 BNA
LinqFaster.NET 9.0100856.94 ns12.408 ns14.289 ns850.71 ns5.80x slower0.13x3.86058088 BNA
LinqFasterer.NET 9.01001,013.08 ns10.105 ns8.438 ns1,012.88 ns6.86x slower0.09x4.73799936 BNA
LinqAF.NET 9.0100490.81 ns8.423 ns7.034 ns486.84 ns3.33x slower0.05x--NA
StructLinq.NET 9.0100226.45 ns4.415 ns8.184 ns223.23 ns1.54x slower0.07x0.019140 BNA
StructLinq_ValueDelegate.NET 9.0100107.33 ns1.942 ns2.385 ns106.43 ns1.37x faster0.03x--NA
Hyperlinq.NET 9.0100248.01 ns4.592 ns4.295 ns246.52 ns1.68x slower0.02x--NA
Hyperlinq_ValueDelegate.NET 9.010099.70 ns0.841 ns0.826 ns99.56 ns1.48x faster0.02x--NA
Faslinq.NET 9.0100991.74 ns20.272 ns58.812 ns966.16 ns6.81x slower0.35x3.86058088 BNA