AsyncEnumerableInt32WhereSelect.cs
- JM.LinqFaster: 1.1.2
- LinqFaster.SIMD: 1.1.2
- LinqFasterer: 2.1.0
- LinqAF: 3.0.0.0
- LinqOptimizer.CSharp: 0.7.0
- SpanLinq: 0.0.1
- Streams.CSharp: 0.6.0
- StructLinq.BCL: 0.27.0
- NetFabric.Hyperlinq: 3.0.0-beta48
- System.Linq.Async: 5.0.0
- Faslinq: 1.0.5
BenchmarkDotNet=v0.13.1, OS=macOS Catalina 10.15.7 (19H1519) [Darwin 19.6.0]
Intel Core i5-7360U CPU 2.30GHz (Kaby Lake), 1 CPU, 4 logical and 2 physical cores
.NET SDK=6.0.100
[Host] : .NET Core 3.1.20 (CoreCLR 4.700.21.47003, CoreFX 4.700.21.47101), X64 RyuJIT
.NET 6 : .NET 6.0.0 (6.0.21.52210), X64 RyuJIT
.NET 6 PGO : .NET 6.0.0 (6.0.21.52210), X64 RyuJIT
.NET Core 3.1 : .NET Core 3.1.20 (CoreCLR 4.700.21.47003, CoreFX 4.700.21.47101), X64 RyuJIT
Method | Job | EnvironmentVariables | Runtime | Count | Mean | Error | StdDev | Ratio | RatioSD | Allocated |
---|---|---|---|---|---|---|---|---|---|---|
ForeachLoop | .NET 6 | Empty | .NET 6.0 | 100 | 173.5 ms | 1.57 ms | 1.47 ms | baseline | 21 KB | |
Linq | .NET 6 | Empty | .NET 6.0 | 100 | 173.5 ms | 1.41 ms | 1.32 ms | 1.00x faster | 0.01x | 51 KB |
Hyperlinq | .NET 6 | Empty | .NET 6.0 | 100 | 173.3 ms | 1.10 ms | 1.03 ms | 1.00x faster | 0.01x | 42 KB |
Hyperlinq_ValueDelegate | .NET 6 | Empty | .NET 6.0 | 100 | 174.6 ms | 1.28 ms | 1.20 ms | 1.01x slower | 0.01x | 41 KB |
ForeachLoop | .NET 6 PGO | DOTNET_ReadyToRun=0,DOTNET_TC_QuickJitForLoops=1,DOTNET_TieredPGO=1 | .NET 6.0 | 100 | 173.3 ms | 1.73 ms | 1.62 ms | baseline | 21 KB | |
Linq | .NET 6 PGO | DOTNET_ReadyToRun=0,DOTNET_TC_QuickJitForLoops=1,DOTNET_TieredPGO=1 | .NET 6.0 | 100 | 174.3 ms | 1.27 ms | 1.19 ms | 1.01x slower | 0.01x | 53 KB |
Hyperlinq | .NET 6 PGO | DOTNET_ReadyToRun=0,DOTNET_TC_QuickJitForLoops=1,DOTNET_TieredPGO=1 | .NET 6.0 | 100 | 173.7 ms | 2.03 ms | 1.90 ms | 1.00x slower | 0.01x | 41 KB |
Hyperlinq_ValueDelegate | .NET 6 PGO | DOTNET_ReadyToRun=0,DOTNET_TC_QuickJitForLoops=1,DOTNET_TieredPGO=1 | .NET 6.0 | 100 | 174.3 ms | 0.97 ms | 0.90 ms | 1.01x slower | 0.01x | 43 KB |
ForeachLoop | .NET Core 3.1 | Empty | .NET Core 3.1 | 100 | 174.2 ms | 1.25 ms | 1.17 ms | baseline | 17 KB | |
Linq | .NET Core 3.1 | Empty | .NET Core 3.1 | 100 | 172.8 ms | 3.06 ms | 2.86 ms | 1.01x faster | 0.02x | 47 KB |
Hyperlinq | .NET Core 3.1 | Empty | .NET Core 3.1 | 100 | 175.6 ms | 2.57 ms | 2.40 ms | 1.01x slower | 0.01x | 41 KB |
Hyperlinq_ValueDelegate | .NET Core 3.1 | Empty | .NET Core 3.1 | 100 | 176.4 ms | 1.89 ms | 1.77 ms | 1.01x slower | 0.01x | 41 KB |