|
6 | 6 | ### Results: |
7 | 7 | ``` ini |
8 | 8 |
|
9 | | -BenchmarkDotNet=v0.13.1, OS=Windows 10.0.22000 |
| 9 | +BenchmarkDotNet=v0.13.2, OS=Windows 11 (10.0.22621.819) |
10 | 10 | Intel Core i7-8750H CPU 2.20GHz (Coffee Lake), 1 CPU, 12 logical and 6 physical cores |
11 | | -.NET SDK=6.0.203 |
12 | | - [Host] : .NET 6.0.6 (6.0.622.26707), X64 RyuJIT |
13 | | - DefaultJob : .NET 6.0.6 (6.0.622.26707), X64 RyuJIT |
| 11 | +.NET SDK=7.0.100 |
| 12 | + [Host] : .NET 7.0.0 (7.0.22.51805), X64 RyuJIT AVX2 |
| 13 | + DefaultJob : .NET 7.0.0 (7.0.22.51805), X64 RyuJIT AVX2 |
14 | 14 |
|
15 | 15 |
|
16 | 16 | ``` |
17 | | -| Method | Mean | Error | StdDev | Ratio | Gen 0 | Allocated | |
18 | | -|------------------------------- |-----------:|---------:|---------:|------:|-------:|----------:| |
19 | | -| Handmaded | 517.6 ns | 1.56 ns | 1.31 ns | 0.09 | - | - | |
20 | | -| LINQSum | 5,701.1 ns | 13.27 ns | 12.41 ns | 1.00 | 0.0076 | 48 B | |
21 | | -| StructLinq | 1,833.2 ns | 5.14 ns | 4.80 ns | 0.32 | 0.0134 | 64 B | |
22 | | -| StructLinqWithVisitor | 5,177.2 ns | 22.00 ns | 20.58 ns | 0.91 | 0.0076 | 40 B | |
23 | | -| StructLinqZeroAlloc | 794.1 ns | 2.92 ns | 2.59 ns | 0.14 | - | - | |
24 | | -| StructLinqZeroAllocWithVisitor | 2,833.1 ns | 9.34 ns | 8.73 ns | 0.50 | - | - | |
| 17 | +| Method | Mean | Error | StdDev | Ratio | Gen0 | Allocated | Alloc Ratio | |
| 18 | +|------------------------------- |-----------:|---------:|---------:|------:|-------:|----------:|------------:| |
| 19 | +| Handmaded | 510.6 ns | 1.41 ns | 1.32 ns | 0.09 | - | - | 0.00 | |
| 20 | +| LINQSum | 5,641.0 ns | 24.16 ns | 22.60 ns | 1.00 | 0.0076 | 48 B | 1.00 | |
| 21 | +| StructLinq | 1,845.5 ns | 6.36 ns | 5.31 ns | 0.33 | 0.0134 | 64 B | 1.33 | |
| 22 | +| StructLinqWithVisitor | 5,083.9 ns | 13.81 ns | 12.92 ns | 0.90 | 0.0076 | 40 B | 0.83 | |
| 23 | +| StructLinqZeroAlloc | 576.0 ns | 2.76 ns | 2.58 ns | 0.10 | - | - | 0.00 | |
| 24 | +| StructLinqZeroAllocWithVisitor | 3,302.8 ns | 29.39 ns | 26.05 ns | 0.59 | - | - | 0.00 | |
0 commit comments