Skip to content

Commit

Permalink
Update benchmark results
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmada committed Mar 19, 2021
1 parent 2e637e0 commit 7c97136
Show file tree
Hide file tree
Showing 36 changed files with 950 additions and 961 deletions.
58 changes: 29 additions & 29 deletions Benchmarks/AllBenchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,36 +18,36 @@ BenchmarkDotNet=v0.12.1.1521-nightly, OS=Windows 10.0.19043
Intel Core i7-7567U CPU 3.50GHz (Kaby Lake), 1 CPU, 4 logical and 2 physical cores
.NET SDK=6.0.100-preview.2.21155.3
[Host] : .NET 6.0.0 (6.0.21.15406), X64 RyuJIT
Job-KXCEYC : .NET 6.0.0 (6.0.21.15406), X64 RyuJIT
Job-XHOKQA : .NET 6.0.0 (6.0.21.15406), X64 RyuJIT

Runtime=.NET 6.0

```
| Method | Categories | Count | Mean | Error | StdDev | Ratio | RatioSD | Gen 0 | Gen 1 | Gen 2 | Allocated |
|------------------------------------ |-------------------------- |------ |-----------:|--------:|--------:|------:|--------:|-------:|------:|------:|----------:|
| Linq_Array | Array | 100 | 595.0 ns | 4.34 ns | 4.06 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_Array | Array | 100 | 192.7 ns | 0.61 ns | 0.51 ns | 0.32 | 0.00 | - | - | - | - |
| | | | | | | | | | | | |
| Linq_Enumerable_Value | Enumerable_Value | 100 | 749.5 ns | 2.53 ns | 2.37 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_Enumerable_Value | Enumerable_Value | 100 | 228.9 ns | 2.89 ns | 2.42 ns | 0.31 | 0.00 | - | - | - | - |
| | | | | | | | | | | | |
| Linq_Collection_Value | Collection_Value | 100 | 754.4 ns | 7.67 ns | 7.17 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_Collection_Value | Collection_Value | 100 | 206.9 ns | 1.72 ns | 1.34 ns | 0.27 | 0.00 | - | - | - | - |
| | | | | | | | | | | | |
| Linq_List_Value | List_Value | 100 | 748.2 ns | 3.10 ns | 2.90 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_List_Value | List_Value | 100 | 611.6 ns | 2.82 ns | 2.50 ns | 0.82 | 0.00 | - | - | - | - |
| | | | | | | | | | | | |
| Linq_AsyncEnumerable_Value | AsyncEnumerable_Value | 100 | 1,871.6 ns | 3.28 ns | 3.07 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_AsyncEnumerable_Value | AsyncEnumerable_Value | 100 | 274.0 ns | 0.63 ns | 0.59 ns | 0.15 | 0.00 | - | - | - | - |
| | | | | | | | | | | | |
| Linq_Enumerable_Reference | Enumerable_Reference | 100 | 731.6 ns | 9.35 ns | 8.75 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_Enumerable_Reference | Enumerable_Reference | 100 | 777.0 ns | 3.04 ns | 2.54 ns | 1.06 | 0.02 | 0.0153 | - | - | 32 B |
| | | | | | | | | | | | |
| Linq_Collection_Reference | Collection_Reference | 100 | 723.4 ns | 2.88 ns | 2.55 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_Collection_Reference | Collection_Reference | 100 | 757.4 ns | 4.79 ns | 4.48 ns | 1.05 | 0.01 | 0.0153 | - | - | 32 B |
| | | | | | | | | | | | |
| Linq_List_Reference | List_Reference | 100 | 726.2 ns | 4.17 ns | 3.69 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_List_Reference | List_Reference | 100 | 610.9 ns | 1.23 ns | 1.15 ns | 0.84 | 0.00 | - | - | - | - |
| | | | | | | | | | | | |
| Linq_AsyncEnumerable_Reference | AsyncEnumerable_Reference | 100 | 1,866.5 ns | 4.85 ns | 3.79 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_AsyncEnumerable_Reference | AsyncEnumerable_Reference | 100 | 302.5 ns | 1.93 ns | 1.80 ns | 0.16 | 0.00 | 0.0153 | - | - | 32 B |
| Method | Categories | Count | Mean | Error | StdDev | Ratio | Gen 0 | Gen 1 | Gen 2 | Allocated |
|------------------------------------ |-------------------------- |------ |-----------:|--------:|--------:|------:|-------:|------:|------:|----------:|
| Linq_Array | Array | 100 | 592.0 ns | 2.18 ns | 1.82 ns | 1.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_Array | Array | 100 | 193.8 ns | 1.53 ns | 1.28 ns | 0.33 | - | - | - | - |
| | | | | | | | | | | |
| Linq_Enumerable_Value | Enumerable_Value | 100 | 757.1 ns | 9.53 ns | 8.92 ns | 1.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_Enumerable_Value | Enumerable_Value | 100 | 228.8 ns | 1.41 ns | 1.25 ns | 0.30 | - | - | - | - |
| | | | | | | | | | | |
| Linq_Collection_Value | Collection_Value | 100 | 750.8 ns | 2.92 ns | 2.74 ns | 1.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_Collection_Value | Collection_Value | 100 | 206.9 ns | 1.60 ns | 1.34 ns | 0.28 | - | - | - | - |
| | | | | | | | | | | |
| Linq_List_Value | List_Value | 100 | 729.5 ns | 6.13 ns | 5.12 ns | 1.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_List_Value | List_Value | 100 | 614.8 ns | 6.33 ns | 5.92 ns | 0.84 | - | - | - | - |
| | | | | | | | | | | |
| Linq_AsyncEnumerable_Value | AsyncEnumerable_Value | 100 | 1,847.2 ns | 9.89 ns | 8.77 ns | 1.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_AsyncEnumerable_Value | AsyncEnumerable_Value | 100 | 273.3 ns | 1.04 ns | 0.92 ns | 0.15 | - | - | - | - |
| | | | | | | | | | | |
| Linq_Enumerable_Reference | Enumerable_Reference | 100 | 726.7 ns | 3.21 ns | 3.00 ns | 1.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_Enumerable_Reference | Enumerable_Reference | 100 | 780.2 ns | 6.27 ns | 5.23 ns | 1.07 | 0.0153 | - | - | 32 B |
| | | | | | | | | | | |
| Linq_Collection_Reference | Collection_Reference | 100 | 754.7 ns | 7.32 ns | 6.11 ns | 1.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_Collection_Reference | Collection_Reference | 100 | 757.3 ns | 3.90 ns | 3.65 ns | 1.00 | 0.0153 | - | - | 32 B |
| | | | | | | | | | | |
| Linq_List_Reference | List_Reference | 100 | 724.9 ns | 4.12 ns | 3.85 ns | 1.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_List_Reference | List_Reference | 100 | 611.9 ns | 2.85 ns | 2.66 ns | 0.84 | - | - | - | - |
| | | | | | | | | | | |
| Linq_AsyncEnumerable_Reference | AsyncEnumerable_Reference | 100 | 1,846.2 ns | 6.31 ns | 5.90 ns | 1.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_AsyncEnumerable_Reference | AsyncEnumerable_Reference | 100 | 301.6 ns | 2.90 ns | 2.27 ns | 0.16 | 0.0153 | - | - | 32 B |
38 changes: 19 additions & 19 deletions Benchmarks/AnyBenchmarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,36 +18,36 @@ BenchmarkDotNet=v0.12.1.1521-nightly, OS=Windows 10.0.19043
Intel Core i7-7567U CPU 3.50GHz (Kaby Lake), 1 CPU, 4 logical and 2 physical cores
.NET SDK=6.0.100-preview.2.21155.3
[Host] : .NET 6.0.0 (6.0.21.15406), X64 RyuJIT
Job-KXCEYC : .NET 6.0.0 (6.0.21.15406), X64 RyuJIT
Job-XHOKQA : .NET 6.0.0 (6.0.21.15406), X64 RyuJIT

Runtime=.NET 6.0

```
| Method | Categories | Count | Mean | Error | StdDev | Ratio | RatioSD | Gen 0 | Gen 1 | Gen 2 | Allocated |
|------------------------------------ |-------------------------- |------ |----------:|----------:|----------:|------:|--------:|-------:|------:|------:|----------:|
| Linq_Array | Array | 100 | 8.852 ns | 0.0332 ns | 0.0310 ns | 1.00 | 0.00 | - | - | - | - |
| Hyperlinq_Array | Array | 100 | 7.780 ns | 0.0216 ns | 0.0181 ns | 0.88 | 0.00 | - | - | - | - |
| Linq_Array | Array | 100 | 8.874 ns | 0.0473 ns | 0.0442 ns | 1.00 | 0.00 | - | - | - | - |
| Hyperlinq_Array | Array | 100 | 8.295 ns | 0.0321 ns | 0.0300 ns | 0.93 | 0.01 | - | - | - | - |
| | | | | | | | | | | | |
| Linq_Enumerable_Value | Enumerable_Value | 100 | 22.005 ns | 0.1641 ns | 0.1371 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_Enumerable_Value | Enumerable_Value | 100 | 12.334 ns | 0.0213 ns | 0.0189 ns | 0.56 | 0.00 | - | - | - | - |
| Linq_Enumerable_Value | Enumerable_Value | 100 | 21.884 ns | 0.1573 ns | 0.1314 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_Enumerable_Value | Enumerable_Value | 100 | 11.296 ns | 0.0425 ns | 0.0332 ns | 0.52 | 0.00 | - | - | - | - |
| | | | | | | | | | | | |
| Linq_Collection_Value | Collection_Value | 100 | 5.165 ns | 0.0671 ns | 0.0628 ns | 1.00 | 0.00 | - | - | - | - |
| Hyperlinq_Collection_Value | Collection_Value | 100 | 8.206 ns | 0.0258 ns | 0.0229 ns | 1.59 | 0.02 | - | - | - | - |
| Linq_Collection_Value | Collection_Value | 100 | 5.370 ns | 0.1195 ns | 0.1118 ns | 1.00 | 0.00 | - | - | - | - |
| Hyperlinq_Collection_Value | Collection_Value | 100 | 8.238 ns | 0.0508 ns | 0.0476 ns | 1.53 | 0.03 | - | - | - | - |
| | | | | | | | | | | | |
| Linq_List_Value | List_Value | 100 | 5.672 ns | 0.0396 ns | 0.0331 ns | 1.00 | 0.00 | - | - | - | - |
| Hyperlinq_List_Value | List_Value | 100 | 1.553 ns | 0.0118 ns | 0.0111 ns | 0.27 | 0.00 | - | - | - | - |
| Linq_List_Value | List_Value | 100 | 5.860 ns | 0.0582 ns | 0.0544 ns | 1.00 | 0.00 | - | - | - | - |
| Hyperlinq_List_Value | List_Value | 100 | 1.569 ns | 0.0238 ns | 0.0199 ns | 0.27 | 0.00 | - | - | - | - |
| | | | | | | | | | | | |
| Linq_AsyncEnumerable_Value | AsyncEnumerable_Value | 100 | 62.236 ns | 0.3114 ns | 0.2760 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_AsyncEnumerable_Value | AsyncEnumerable_Value | 100 | 52.144 ns | 0.1382 ns | 0.1293 ns | 0.84 | 0.00 | - | - | - | - |
| Linq_AsyncEnumerable_Value | AsyncEnumerable_Value | 100 | 62.273 ns | 0.4126 ns | 0.3222 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_AsyncEnumerable_Value | AsyncEnumerable_Value | 100 | 52.364 ns | 0.1373 ns | 0.1146 ns | 0.84 | 0.01 | - | - | - | - |
| | | | | | | | | | | | |
| Linq_Enumerable_Reference | Enumerable_Reference | 100 | 21.951 ns | 0.1458 ns | 0.1364 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_Enumerable_Reference | Enumerable_Reference | 100 | 13.268 ns | 0.0782 ns | 0.0653 ns | 0.60 | 0.01 | 0.0153 | - | - | 32 B |
| Linq_Enumerable_Reference | Enumerable_Reference | 100 | 22.123 ns | 0.3594 ns | 0.3361 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_Enumerable_Reference | Enumerable_Reference | 100 | 13.315 ns | 0.0734 ns | 0.0650 ns | 0.60 | 0.01 | 0.0153 | - | - | 32 B |
| | | | | | | | | | | | |
| Linq_Collection_Reference | Collection_Reference | 100 | 5.295 ns | 0.0266 ns | 0.0249 ns | 1.00 | 0.00 | - | - | - | - |
| Hyperlinq_Collection_Reference | Collection_Reference | 100 | 1.553 ns | 0.0143 ns | 0.0126 ns | 0.29 | 0.00 | - | - | - | - |
| Linq_Collection_Reference | Collection_Reference | 100 | 5.171 ns | 0.0717 ns | 0.0635 ns | 1.00 | 0.00 | - | - | - | - |
| Hyperlinq_Collection_Reference | Collection_Reference | 100 | 1.568 ns | 0.0145 ns | 0.0135 ns | 0.30 | 0.00 | - | - | - | - |
| | | | | | | | | | | | |
| Linq_List_Reference | List_Reference | 100 | 5.814 ns | 0.0171 ns | 0.0152 ns | 1.00 | 0.00 | - | - | - | - |
| Hyperlinq_List_Reference | List_Reference | 100 | 1.561 ns | 0.0118 ns | 0.0111 ns | 0.27 | 0.00 | - | - | - | - |
| Linq_List_Reference | List_Reference | 100 | 5.851 ns | 0.0434 ns | 0.0406 ns | 1.00 | 0.00 | - | - | - | - |
| Hyperlinq_List_Reference | List_Reference | 100 | 1.552 ns | 0.0120 ns | 0.0100 ns | 0.26 | 0.00 | - | - | - | - |
| | | | | | | | | | | | |
| Linq_AsyncEnumerable_Reference | AsyncEnumerable_Reference | 100 | 62.757 ns | 0.1622 ns | 0.1438 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_AsyncEnumerable_Reference | AsyncEnumerable_Reference | 100 | 58.159 ns | 0.1437 ns | 0.1274 ns | 0.93 | 0.00 | 0.0153 | - | - | 32 B |
| Linq_AsyncEnumerable_Reference | AsyncEnumerable_Reference | 100 | 61.675 ns | 0.2805 ns | 0.2624 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B |
| Hyperlinq_AsyncEnumerable_Reference | AsyncEnumerable_Reference | 100 | 58.200 ns | 0.1898 ns | 0.1585 ns | 0.94 | 0.00 | 0.0153 | - | - | 32 B |
Loading

0 comments on commit 7c97136

Please sign in to comment.