Skip to content

Commit 9f098a2

Browse files
committed
[Benchmark] update net 50
1 parent a480d0b commit 9f098a2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+515
-493
lines changed

Documents/BenchmarksResults/Aggregate.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
### Results:
77
``` ini
88

9-
BenchmarkDotNet=v0.12.0, OS=Windows 10.0.19041
10-
Intel Core i7-7700 CPU 3.60GHz (Kaby Lake), 1 CPU, 8 logical and 4 physical cores
11-
.NET Core SDK=3.1.402
12-
[Host] : .NET Core 3.1.8 (CoreCLR 4.700.20.41105, CoreFX 4.700.20.41903), X64 RyuJIT
13-
DefaultJob : .NET Core 3.1.8 (CoreCLR 4.700.20.41105, CoreFX 4.700.20.41903), X64 RyuJIT
9+
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19042
10+
Intel Core i7-8750H CPU 2.20GHz (Coffee Lake), 1 CPU, 12 logical and 6 physical cores
11+
.NET Core SDK=5.0.101
12+
[Host] : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
13+
DefaultJob : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
1414

1515

1616
```
17-
| Method | Mean | Error | StdDev | Ratio | Gen 0 | Gen 1 | Gen 2 | Allocated |
18-
|------------------------- |----------:|----------:|----------:|------:|------:|------:|------:|----------:|
19-
| SysAggregate | 56.222 us | 0.1176 us | 0.1100 us | 1.00 | - | - | - | 40 B |
20-
| DelegateAggregate | 30.932 us | 0.0806 us | 0.0714 us | 0.55 | - | - | - | 24 B |
21-
| StructAggregate | 5.637 us | 0.0097 us | 0.0091 us | 0.10 | - | - | - | 24 B |
22-
| ZeroAllocStructAggregate | 15.053 us | 0.0089 us | 0.0074 us | 0.27 | - | - | - | - |
23-
| ConvertAggregate | 39.362 us | 0.0762 us | 0.0637 us | 0.70 | - | - | - | 64 B |
17+
| Method | Mean | Error | StdDev | Ratio | Gen 0 | Gen 1 | Gen 2 | Allocated | Code Size |
18+
|------------------------- |----------:|----------:|----------:|------:|------:|------:|------:|----------:|----------:|
19+
| SysAggregate | 50.596 μs | 0.7067 μs | 0.6610 μs | 1.00 | - | - | - | 40 B | 387 B |
20+
| DelegateAggregate | 15.115 μs | 0.1654 μs | 0.1548 μs | 0.30 | - | - | - | 24 B | 208 B |
21+
| StructAggregate | 5.030 μs | 0.0277 μs | 0.0259 μs | 0.10 | - | - | - | 24 B | 74 B |
22+
| ZeroAllocStructAggregate | 13.445 μs | 0.0282 μs | 0.0264 μs | 0.27 | - | - | - | - | 173 B |
23+
| ConvertAggregate | 40.073 μs | 0.2062 μs | 0.1828 μs | 0.79 | - | - | - | 64 B | 131 B |

Documents/BenchmarksResults/AllOnArray.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Intel Core i7-8750H CPU 2.20GHz (Coffee Lake), 1 CPU, 12 logical and 6 physical
1616
```
1717
| Method | Mean | Error | StdDev | Ratio | Gen 0 | Gen 1 | Gen 2 | Allocated |
1818
|----------------------------------------------- |-----------:|---------:|---------:|------:|-------:|------:|------:|----------:|
19-
| For | 265.3 ns | 2.03 ns | 1.80 ns | 0.10 | - | - | - | - |
20-
| Linq | 2,577.2 ns | 7.17 ns | 6.35 ns | 1.00 | 0.0038 | - | - | 32 B |
21-
| StructLinq | 1,076.8 ns | 19.39 ns | 17.19 ns | 0.42 | 0.0057 | - | - | 32 B |
22-
| StructLinqZeroAlloc | 905.9 ns | 2.40 ns | 2.12 ns | 0.35 | - | - | - | - |
23-
| StructLinqIFunctionZeroAlloc | 287.5 ns | 2.15 ns | 2.01 ns | 0.11 | - | - | - | - |
24-
| StructLinqIFunctionZeroAllocOnStructEnumerable | 390.4 ns | 1.34 ns | 1.26 ns | 0.15 | - | - | - | - |
19+
| For | 175.7 ns | 0.37 ns | 0.32 ns | 0.07 | - | - | - | - |
20+
| Linq | 2,643.6 ns | 8.87 ns | 7.41 ns | 1.00 | 0.0038 | - | - | 32 B |
21+
| StructLinq | 1,144.9 ns | 5.55 ns | 5.19 ns | 0.43 | 0.0057 | - | - | 32 B |
22+
| StructLinqZeroAlloc | 901.1 ns | 16.58 ns | 13.84 ns | 0.34 | - | - | - | - |
23+
| StructLinqIFunctionZeroAlloc | 516.2 ns | 3.18 ns | 2.82 ns | 0.20 | - | - | - | - |
24+
| StructLinqIFunctionZeroAllocOnStructEnumerable | 385.8 ns | 2.30 ns | 2.04 ns | 0.15 | - | - | - | - |

Documents/BenchmarksResults/AnyOnArray.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@
66
### Results:
77
``` ini
88

9-
BenchmarkDotNet=v0.12.0, OS=Windows 10.0.19041
10-
Intel Core i7-7700 CPU 3.60GHz (Kaby Lake), 1 CPU, 8 logical and 4 physical cores
11-
.NET Core SDK=3.1.402
12-
[Host] : .NET Core 3.1.8 (CoreCLR 4.700.20.41105, CoreFX 4.700.20.41903), X64 RyuJIT
13-
DefaultJob : .NET Core 3.1.8 (CoreCLR 4.700.20.41105, CoreFX 4.700.20.41903), X64 RyuJIT
9+
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19042
10+
Intel Core i7-8750H CPU 2.20GHz (Coffee Lake), 1 CPU, 12 logical and 6 physical cores
11+
.NET Core SDK=5.0.101
12+
[Host] : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
13+
DefaultJob : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
1414

1515

1616
```
17-
| Method | Mean | Error | StdDev | Median | Ratio | RatioSD | Gen 0 | Gen 1 | Gen 2 | Allocated |
18-
|----------------------------- |-----------:|---------:|---------:|-----------:|------:|--------:|-------:|------:|------:|----------:|
19-
| For | 313.9 ns | 6.53 ns | 8.49 ns | 310.6 ns | 0.11 | 0.00 | - | - | - | - |
20-
| Linq | 2,966.2 ns | 35.84 ns | 29.92 ns | 2,958.6 ns | 1.00 | 0.00 | 0.0076 | - | - | 32 B |
21-
| StructLinq | 1,256.6 ns | 24.84 ns | 39.41 ns | 1,253.2 ns | 0.42 | 0.01 | 0.0076 | - | - | 32 B |
22-
| StructLinqZeroAlloc | 1,083.9 ns | 21.51 ns | 44.91 ns | 1,064.4 ns | 0.38 | 0.02 | - | - | - | - |
23-
| StructLinqIFunctionZeroAlloc | 236.1 ns | 3.44 ns | 3.05 ns | 236.0 ns | 0.08 | 0.00 | - | - | - | - |
17+
| Method | Mean | Error | StdDev | Ratio | Gen 0 | Gen 1 | Gen 2 | Allocated |
18+
|----------------------------- |-----------:|---------:|---------:|------:|-------:|------:|------:|----------:|
19+
| For | 383.9 ns | 2.07 ns | 1.94 ns | 0.14 | - | - | - | - |
20+
| Linq | 2,664.5 ns | 20.61 ns | 19.28 ns | 1.00 | 0.0038 | - | - | 32 B |
21+
| StructLinq | 901.8 ns | 3.29 ns | 2.57 ns | 0.34 | 0.0067 | - | - | 32 B |
22+
| StructLinqZeroAlloc | 888.7 ns | 5.27 ns | 4.67 ns | 0.33 | - | - | - | - |
23+
| StructLinqIFunctionZeroAlloc | 383.3 ns | 1.28 ns | 1.20 ns | 0.14 | - | - | - | - |

Documents/BenchmarksResults/ArrayOfBigStructSum.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@
66
### Results:
77
``` ini
88

9-
BenchmarkDotNet=v0.12.0, OS=Windows 10.0.19042
9+
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19042
1010
Intel Core i7-8750H CPU 2.20GHz (Coffee Lake), 1 CPU, 12 logical and 6 physical cores
11-
.NET Core SDK=5.0.100-preview.7.20366.6
12-
[Host] : .NET Core 3.1.9 (CoreCLR 4.700.20.47201, CoreFX 4.700.20.47203), X64 RyuJIT
13-
DefaultJob : .NET Core 3.1.9 (CoreCLR 4.700.20.47201, CoreFX 4.700.20.47203), X64 RyuJIT
11+
.NET Core SDK=5.0.101
12+
[Host] : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
13+
DefaultJob : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
1414

1515

1616
```
17-
| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen 0 | Gen 1 | Gen 2 | Allocated |
18-
|---------------------- |-----------:|---------:|----------:|------:|--------:|-------:|------:|------:|----------:|
19-
| Handmaded | 799.6 ns | 4.87 ns | 4.55 ns | 0.14 | 0.00 | - | - | - | - |
20-
| SysEnumerableSum | 5,861.1 ns | 34.26 ns | 28.61 ns | 1.00 | 0.00 | - | - | - | 32 B |
21-
| StructSum | 3,253.7 ns | 30.06 ns | 28.12 ns | 0.55 | 0.01 | 0.0038 | - | - | 32 B |
22-
| RefStructSum | 1,886.6 ns | 22.74 ns | 18.99 ns | 0.32 | 0.00 | 0.0057 | - | - | 32 B |
23-
| ZeroAllocStructSum | 2,337.6 ns | 46.23 ns | 110.75 ns | 0.38 | 0.02 | - | - | - | - |
24-
| ZeroAllocRefStructSum | 716.5 ns | 6.18 ns | 5.78 ns | 0.12 | 0.00 | - | - | - | - |
17+
| Method | Mean | Error | StdDev | Ratio | Gen 0 | Gen 1 | Gen 2 | Allocated |
18+
|---------------------- |-----------:|---------:|---------:|------:|-------:|------:|------:|----------:|
19+
| Handmaded | 543.0 ns | 2.64 ns | 2.47 ns | 0.09 | - | - | - | - |
20+
| SysEnumerableSum | 6,046.0 ns | 27.55 ns | 25.77 ns | 1.00 | - | - | - | 32 B |
21+
| StructSum | 3,207.4 ns | 16.92 ns | 15.83 ns | 0.53 | 0.0038 | - | - | 32 B |
22+
| RefStructSum | 1,853.3 ns | 6.07 ns | 5.68 ns | 0.31 | 0.0057 | - | - | 32 B |
23+
| ZeroAllocStructSum | 2,195.7 ns | 25.33 ns | 23.69 ns | 0.36 | - | - | - | - |
24+
| ZeroAllocRefStructSum | 682.9 ns | 2.28 ns | 2.13 ns | 0.11 | - | - | - | - |

Documents/BenchmarksResults/ArrayOfClassSum.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,18 @@
77
``` ini
88

99
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19042
10-
Intel Core i7-7700 CPU 3.60GHz (Kaby Lake), 1 CPU, 8 logical and 4 physical cores
10+
Intel Core i7-8750H CPU 2.20GHz (Coffee Lake), 1 CPU, 12 logical and 6 physical cores
1111
.NET Core SDK=5.0.101
1212
[Host] : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
1313
DefaultJob : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
1414

1515

1616
```
17-
| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen 0 | Gen 1 | Gen 2 | Allocated |
18-
|------------------- |-----------:|----------:|----------:|------:|--------:|-------:|------:|------:|----------:|
19-
| Handmaded | 554.7 ns | 11.12 ns | 16.98 ns | 0.07 | 0.00 | - | - | - | - |
20-
| SysEnumerableSum | 7,922.7 ns | 158.48 ns | 330.81 ns | 1.00 | 0.00 | - | - | - | 48 B |
21-
| StructSum | 3,192.7 ns | 62.72 ns | 67.11 ns | 0.40 | 0.02 | 0.0153 | - | - | 64 B |
22-
| StructSumZeroAlloc | 721.0 ns | 11.62 ns | 10.87 ns | 0.09 | 0.00 | - | - | - | - |
17+
| Method | Mean | Error | StdDev | Ratio | Gen 0 | Gen 1 | Gen 2 | Allocated |
18+
|------------------------------- |-----------:|---------:|---------:|------:|-------:|------:|------:|----------:|
19+
| Handmaded | 760.3 ns | 4.60 ns | 4.08 ns | 0.13 | - | - | - | - |
20+
| LINQSum | 5,967.7 ns | 95.46 ns | 89.29 ns | 1.00 | 0.0076 | - | - | 48 B |
21+
| StructLinq | 1,790.2 ns | 6.16 ns | 5.46 ns | 0.30 | 0.0134 | - | - | 64 B |
22+
| StructLinqWithVisitor | 4,087.4 ns | 47.84 ns | 44.75 ns | 0.69 | 0.0076 | - | - | 40 B |
23+
| StructLinqZeroAlloc | 602.3 ns | 2.41 ns | 2.26 ns | 0.10 | - | - | - | - |
24+
| StructLinqZeroAllocWithVisitor | 3,048.0 ns | 33.24 ns | 27.76 ns | 0.51 | - | - | - | - |

Documents/BenchmarksResults/ArrayOfIntSum.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,18 @@
77
``` ini
88

99
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19042
10-
Intel Core i7-7700 CPU 3.60GHz (Kaby Lake), 1 CPU, 8 logical and 4 physical cores
10+
Intel Core i7-8750H CPU 2.20GHz (Coffee Lake), 1 CPU, 12 logical and 6 physical cores
1111
.NET Core SDK=5.0.101
1212
[Host] : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
1313
DefaultJob : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
1414

1515

1616
```
17-
| Method | Mean | Error | StdDev | Ratio | Gen 0 | Gen 1 | Gen 2 | Allocated |
18-
|-------------------- |-----------:|---------:|---------:|------:|-------:|------:|------:|----------:|
19-
| Handmaded | 641.2 ns | 8.73 ns | 8.16 ns | 0.15 | - | - | - | - |
20-
| LINQ | 4,257.4 ns | 83.82 ns | 99.78 ns | 1.00 | 0.0076 | - | - | 32 B |
21-
| StructLinqZeroAlloc | 622.3 ns | 9.07 ns | 8.48 ns | 0.15 | - | - | - | - |
22-
| StructLinq | 782.4 ns | 11.52 ns | 9.62 ns | 0.18 | 0.0076 | - | - | 32 B |
17+
| Method | Mean | Error | StdDev | Ratio | Gen 0 | Gen 1 | Gen 2 | Allocated |
18+
|------------------------------- |-----------:|---------:|---------:|------:|-------:|------:|------:|----------:|
19+
| Handmaded | 533.5 ns | 2.43 ns | 2.15 ns | 0.14 | - | - | - | - |
20+
| EnumerableLINQ | 4,031.8 ns | 18.17 ns | 16.10 ns | 1.07 | - | - | - | 32 B |
21+
| ArrayLINQ | 3,778.4 ns | 14.34 ns | 13.41 ns | 1.00 | 0.0038 | - | - | 32 B |
22+
| StructLinqZeroAlloc | 535.8 ns | 2.24 ns | 2.10 ns | 0.14 | - | - | - | - |
23+
| StructLinq | 653.5 ns | 2.52 ns | 2.36 ns | 0.17 | 0.0067 | - | - | 32 B |
24+
| StructLinqZeroAllocWithVisitor | 763.1 ns | 4.15 ns | 3.68 ns | 0.20 | - | - | - | - |

Documents/BenchmarksResults/ArraySelectCount.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
``` ini
88

99
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19042
10-
Intel Core i7-7700 CPU 3.60GHz (Kaby Lake), 1 CPU, 8 logical and 4 physical cores
10+
Intel Core i7-8750H CPU 2.20GHz (Coffee Lake), 1 CPU, 12 logical and 6 physical cores
1111
.NET Core SDK=5.0.101
1212
[Host] : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
1313
DefaultJob : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
@@ -16,6 +16,6 @@ Intel Core i7-7700 CPU 3.60GHz (Kaby Lake), 1 CPU, 8 logical and 4 physical core
1616
```
1717
| Method | Mean | Error | StdDev | Ratio | Gen 0 | Gen 1 | Gen 2 | Allocated |
1818
|-------------------- |-------------:|----------:|----------:|------:|-------:|------:|------:|----------:|
19-
| Linq | 19,973.59 ns | 34.920 ns | 32.664 ns | 1.000 | - | - | - | 48 B |
20-
| StructLinq | 26.10 ns | 0.376 ns | 0.352 ns | 0.001 | 0.0153 | - | - | 64 B |
21-
| StructLinqZeroAlloc | 11.54 ns | 0.016 ns | 0.013 ns | 0.001 | - | - | - | - |
19+
| Linq | 17,618.17 ns | 78.947 ns | 73.847 ns | 1.000 | - | - | - | 48 B |
20+
| StructLinq | 16.30 ns | 0.106 ns | 0.094 ns | 0.001 | 0.0136 | - | - | 64 B |
21+
| StructLinqZeroAlloc | 10.13 ns | 0.050 ns | 0.047 ns | 0.001 | - | - | - | - |

Documents/BenchmarksResults/ArrayWhereSelectSum.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Intel Core i7-8750H CPU 2.20GHz (Coffee Lake), 1 CPU, 12 logical and 6 physical
1616
```
1717
| Method | Mean | Error | StdDev | Ratio | RatioSD | Gen 0 | Gen 1 | Gen 2 | Allocated |
1818
|-------------------------------------- |----------:|----------:|----------:|------:|--------:|------:|------:|------:|----------:|
19-
| HandmadedCode | 6.940 μs | 0.0296 μs | 0.0262 μs | 1.00 | 0.00 | - | - | - | - |
20-
| SysLinq | 47.216 μs | 0.1839 μs | 0.1630 μs | 6.80 | 0.03 | - | - | - | 104 B |
21-
| StructRangeWhereSelectSumWithDelegate | 33.590 μs | 0.1206 μs | 0.1128 μs | 4.84 | 0.03 | - | - | - | - |
22-
| StructRangeWhereSelectSum | 13.593 μs | 0.0352 μs | 0.0329 μs | 1.96 | 0.01 | - | - | - | - |
19+
| HandmadedCode | 11.260 μs | 0.0438 μs | 0.0410 μs | 1.00 | 0.00 | - | - | - | - |
20+
| SysLinq | 47.419 μs | 0.2339 μs | 0.2188 μs | 4.21 | 0.03 | - | - | - | 104 B |
21+
| StructRangeWhereSelectSumWithDelegate | 30.242 μs | 0.4029 μs | 0.3769 μs | 2.69 | 0.04 | - | - | - | - |
22+
| StructRangeWhereSelectSum | 6.918 μs | 0.0304 μs | 0.0284 μs | 0.61 | 0.00 | - | - | - | - |

Documents/BenchmarksResults/Concat.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
### Results:
77
``` ini
88

9-
BenchmarkDotNet=v0.12.0, OS=Windows 10.0.19041
10-
Intel Core i7-7700 CPU 3.60GHz (Kaby Lake), 1 CPU, 8 logical and 4 physical cores
11-
.NET Core SDK=3.1.402
12-
[Host] : .NET Core 3.1.8 (CoreCLR 4.700.20.41105, CoreFX 4.700.20.41903), X64 RyuJIT
13-
DefaultJob : .NET Core 3.1.8 (CoreCLR 4.700.20.41105, CoreFX 4.700.20.41903), X64 RyuJIT
9+
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19042
10+
Intel Core i7-8750H CPU 2.20GHz (Coffee Lake), 1 CPU, 12 logical and 6 physical cores
11+
.NET Core SDK=5.0.101
12+
[Host] : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
13+
DefaultJob : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
1414

1515

1616
```
1717
| Method | Mean | Error | StdDev | Ratio | Gen 0 | Gen 1 | Gen 2 | Allocated |
1818
|-------------------- |---------:|---------:|---------:|------:|------:|------:|------:|----------:|
19-
| Linq | 89.95 us | 1.716 us | 2.170 us | 1.00 | - | - | - | 120 B |
20-
| StructLinq | 20.55 us | 0.034 us | 0.030 us | 0.23 | - | - | - | 64 B |
21-
| StructLinqZeroAlloc | 20.51 us | 0.026 us | 0.023 us | 0.23 | - | - | - | - |
19+
| Linq | 80.56 μs | 0.346 μs | 0.289 μs | 1.00 | - | - | - | 120 B |
20+
| StructLinq | 18.12 μs | 0.030 μs | 0.024 μs | 0.22 | - | - | - | 64 B |
21+
| StructLinqZeroAlloc | 18.39 μs | 0.249 μs | 0.233 μs | 0.23 | - | - | - | - |

Documents/BenchmarksResults/Contains.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
``` ini
88

99
BenchmarkDotNet=v0.12.1, OS=Windows 10.0.19042
10-
Intel Core i7-7700 CPU 3.60GHz (Kaby Lake), 1 CPU, 8 logical and 4 physical cores
10+
Intel Core i7-8750H CPU 2.20GHz (Coffee Lake), 1 CPU, 12 logical and 6 physical cores
1111
.NET Core SDK=5.0.101
1212
[Host] : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
1313
DefaultJob : .NET Core 5.0.1 (CoreCLR 5.0.120.57516, CoreFX 5.0.120.57516), X64 RyuJIT
1414

1515

1616
```
17-
| Method | Mean | Error | StdDev | Median | Ratio | RatioSD | Code Size | Gen 0 | Gen 1 | Gen 2 | Allocated |
18-
|-------------------- |---------:|----------:|----------:|---------:|------:|--------:|----------:|-------:|------:|------:|----------:|
19-
| Array | 1.191 μs | 0.0142 μs | 0.0126 μs | 1.190 μs | 1.00 | 0.00 | 98 B | - | - | - | - |
20-
| StructLinq | 2.902 μs | 0.0251 μs | 0.0209 μs | 2.896 μs | 2.44 | 0.03 | 156 B | 0.0076 | - | - | 32 B |
21-
| StructLinqZeroAlloc | 2.923 μs | 0.0582 μs | 0.1253 μs | 2.866 μs | 2.58 | 0.13 | 236 B | - | - | - | - |
17+
| Method | Mean | Error | StdDev | Ratio | RatioSD | Code Size | Gen 0 | Gen 1 | Gen 2 | Allocated |
18+
|-------------------- |---------:|----------:|----------:|------:|--------:|----------:|-------:|------:|------:|----------:|
19+
| Array | 1.135 μs | 0.0180 μs | 0.0169 μs | 1.00 | 0.00 | 98 B | - | - | - | - |
20+
| StructLinq | 1.908 μs | 0.0091 μs | 0.0086 μs | 1.68 | 0.02 | 156 B | 0.0038 | - | - | 32 B |
21+
| StructLinqZeroAlloc | 2.513 μs | 0.0077 μs | 0.0072 μs | 2.21 | 0.03 | 236 B | - | - | - | - |

0 commit comments

Comments
 (0)