Skip to content

Commit

Permalink
Add AMD 7840U benchmarks (net8.0/net9.0) (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
nietras authored Nov 25, 2024
1 parent 8d33dbc commit b3705a0
Show file tree
Hide file tree
Showing 8 changed files with 268 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
```
BenchmarkDotNet v0.14.0, Windows 11 (10.0.22631.4460/23H2/2023Update/SunValley3)
AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics, 1 CPU, 16 logical and 8 physical cores
.NET SDK 9.0.100
[Host] : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job-IHPSBG : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job-FNCVNM : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
EnvironmentVariables=DOTNET_GCDynamicAdaptationMode=0 InvocationCount=Default IterationTime=350ms
MaxIterationCount=15 MinIterationCount=5 WarmupCount=6
Reader=String
```
| Method | Runtime | Scope | Rows | Mean | Ratio | MB | MB/s | ns/row | Allocated | Alloc Ratio |
|---------- |--------- |------- |------ |-----------:|------:|---:|-------:|-------:|------------:|------------:|
| Sep______ | .NET 8.0 | Row | 25000 | 3.378 ms | 1.00 | 20 | 6014.8 | 135.1 | 1.41 KB | 1.00 |
| Sylvan___ | .NET 8.0 | Row | 25000 | 3.857 ms | 1.14 | 20 | 5268.1 | 154.3 | 10.71 KB | 7.59 |
| ReadLine_ | .NET 8.0 | Row | 25000 | 17.420 ms | 5.16 | 20 | 1166.4 | 696.8 | 73489.66 KB | 52,078.49 |
| CsvHelper | .NET 8.0 | Row | 25000 | 40.731 ms | 12.06 | 20 | 498.9 | 1629.2 | 20.19 KB | 14.31 |
| Sep______ | .NET 9.0 | Row | 25000 | 3.343 ms | 0.99 | 20 | 6078.1 | 133.7 | 1.41 KB | 1.00 |
| Sylvan___ | .NET 9.0 | Row | 25000 | 3.792 ms | 1.12 | 20 | 5358.1 | 151.7 | 10.71 KB | 7.59 |
| ReadLine_ | .NET 9.0 | Row | 25000 | 17.225 ms | 5.10 | 20 | 1179.7 | 689.0 | 73489.64 KB | 52,078.47 |
| CsvHelper | .NET 9.0 | Row | 25000 | 40.113 ms | 11.87 | 20 | 506.6 | 1604.5 | 20.2 KB | 14.31 |
| | | | | | | | | | | |
| Sep______ | .NET 8.0 | Cols | 25000 | 5.091 ms | 1.00 | 20 | 3991.0 | 203.7 | 1.42 KB | 1.00 |
| Sylvan___ | .NET 8.0 | Cols | 25000 | 6.405 ms | 1.26 | 20 | 3172.5 | 256.2 | 10.71 KB | 7.56 |
| ReadLine_ | .NET 8.0 | Cols | 25000 | 18.035 ms | 3.54 | 20 | 1126.7 | 721.4 | 73489.68 KB | 51,898.92 |
| CsvHelper | .NET 8.0 | Cols | 25000 | 44.565 ms | 8.75 | 20 | 456.0 | 1782.6 | 21340.41 KB | 15,070.74 |
| Sep______ | .NET 9.0 | Cols | 25000 | 4.469 ms | 0.88 | 20 | 4547.1 | 178.7 | 1.42 KB | 1.00 |
| Sylvan___ | .NET 9.0 | Cols | 25000 | 6.009 ms | 1.18 | 20 | 3381.7 | 240.3 | 10.71 KB | 7.56 |
| ReadLine_ | .NET 9.0 | Cols | 25000 | 18.784 ms | 3.69 | 20 | 1081.7 | 751.4 | 73489.66 KB | 51,898.91 |
| CsvHelper | .NET 9.0 | Cols | 25000 | 42.852 ms | 8.42 | 20 | 474.2 | 1714.1 | 21340.25 KB | 15,070.63 |
| | | | | | | | | | | |
| Sep______ | .NET 8.0 | Floats | 25000 | 37.354 ms | 1.00 | 20 | 544.0 | 1494.2 | 8.24 KB | 1.00 |
| Sep_MT___ | .NET 8.0 | Floats | 25000 | 9.056 ms | 0.24 | 20 | 2243.7 | 362.2 | 116.31 KB | 14.12 |
| Sylvan___ | .NET 8.0 | Floats | 25000 | 90.382 ms | 2.42 | 20 | 224.8 | 3615.3 | 18.88 KB | 2.29 |
| ReadLine_ | .NET 8.0 | Floats | 25000 | 114.180 ms | 3.06 | 20 | 178.0 | 4567.2 | 73493.3 KB | 8,923.07 |
| CsvHelper | .NET 8.0 | Floats | 25000 | 163.201 ms | 4.37 | 20 | 124.5 | 6528.0 | 22062.31 KB | 2,678.66 |
| Sep______ | .NET 9.0 | Floats | 25000 | 32.165 ms | 0.86 | 20 | 631.7 | 1286.6 | 8.2 KB | 1.00 |
| Sep_MT___ | .NET 9.0 | Floats | 25000 | 8.586 ms | 0.23 | 20 | 2366.6 | 343.4 | 115.19 KB | 13.99 |
| Sylvan___ | .NET 9.0 | Floats | 25000 | 81.121 ms | 2.17 | 20 | 250.5 | 3244.8 | 21.89 KB | 2.66 |
| ReadLine_ | .NET 9.0 | Floats | 25000 | 106.479 ms | 2.85 | 20 | 190.8 | 4259.1 | 73493.12 KB | 8,923.04 |
| CsvHelper | .NET 9.0 | Floats | 25000 | 156.763 ms | 4.20 | 20 | 129.6 | 6270.5 | 22062.08 KB | 2,678.63 |
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
```
BenchmarkDotNet v0.14.0, Windows 11 (10.0.22631.4460/23H2/2023Update/SunValley3)
AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics, 1 CPU, 16 logical and 8 physical cores
.NET SDK 9.0.100
[Host] : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job-KCKHSP : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job-NSODLD : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
EnvironmentVariables=DOTNET_GCDynamicAdaptationMode=0 Server=True InvocationCount=Default
IterationTime=350ms MaxIterationCount=15 MinIterationCount=5
WarmupCount=6 Quotes=False Reader=String
```
| Method | Runtime | Scope | Rows | Mean | Ratio | MB | MB/s | ns/row | Allocated | Alloc Ratio |
|---------- |--------- |------ |-------- |------------:|------:|----:|-------:|-------:|-----------:|------------:|
| Sep______ | .NET 8.0 | Asset | 50000 | 35.45 ms | 1.00 | 29 | 823.2 | 708.9 | 13.48 MB | 1.00 |
| Sep_MT___ | .NET 8.0 | Asset | 50000 | 12.27 ms | 0.35 | 29 | 2377.3 | 245.5 | 13.57 MB | 1.01 |
| Sylvan___ | .NET 8.0 | Asset | 50000 | 49.67 ms | 1.40 | 29 | 587.5 | 993.4 | 13.63 MB | 1.01 |
| ReadLine_ | .NET 8.0 | Asset | 50000 | 46.88 ms | 1.32 | 29 | 622.4 | 937.7 | 99.74 MB | 7.40 |
| CsvHelper | .NET 8.0 | Asset | 50000 | 120.46 ms | 3.40 | 29 | 242.3 | 2409.1 | 13.64 MB | 1.01 |
| Sep______ | .NET 9.0 | Asset | 50000 | 33.41 ms | 0.94 | 29 | 873.5 | 668.2 | 13.48 MB | 1.00 |
| Sep_MT___ | .NET 9.0 | Asset | 50000 | 12.40 ms | 0.35 | 29 | 2352.8 | 248.1 | 13.57 MB | 1.01 |
| Sylvan___ | .NET 9.0 | Asset | 50000 | 43.36 ms | 1.22 | 29 | 673.1 | 867.1 | 13.63 MB | 1.01 |
| ReadLine_ | .NET 9.0 | Asset | 50000 | 46.90 ms | 1.32 | 29 | 622.2 | 938.0 | 99.74 MB | 7.40 |
| CsvHelper | .NET 9.0 | Asset | 50000 | 118.22 ms | 3.34 | 29 | 246.8 | 2364.5 | 13.65 MB | 1.01 |
| | | | | | | | | | | |
| Sep______ | .NET 8.0 | Asset | 1000000 | 745.32 ms | 1.00 | 583 | 783.3 | 745.3 | 260.41 MB | 1.00 |
| Sep_MT___ | .NET 8.0 | Asset | 1000000 | 264.34 ms | 0.36 | 583 | 2208.5 | 264.3 | 261.65 MB | 1.00 |
| Sylvan___ | .NET 8.0 | Asset | 1000000 | 1,032.07 ms | 1.39 | 583 | 565.6 | 1032.1 | 260.57 MB | 1.00 |
| ReadLine_ | .NET 8.0 | Asset | 1000000 | 1,034.99 ms | 1.39 | 583 | 564.0 | 1035.0 | 1991.04 MB | 7.65 |
| CsvHelper | .NET 8.0 | Asset | 1000000 | 2,458.27 ms | 3.30 | 583 | 237.5 | 2458.3 | 260.58 MB | 1.00 |
| Sep______ | .NET 9.0 | Asset | 1000000 | 776.81 ms | 1.04 | 583 | 751.5 | 776.8 | 260.41 MB | 1.00 |
| Sep_MT___ | .NET 9.0 | Asset | 1000000 | 273.09 ms | 0.37 | 583 | 2137.7 | 273.1 | 261.64 MB | 1.00 |
| Sylvan___ | .NET 9.0 | Asset | 1000000 | 926.67 ms | 1.24 | 583 | 630.0 | 926.7 | 260.57 MB | 1.00 |
| ReadLine_ | .NET 9.0 | Asset | 1000000 | 1,040.58 ms | 1.40 | 583 | 561.0 | 1040.6 | 1991.05 MB | 7.65 |
| CsvHelper | .NET 9.0 | Asset | 1000000 | 2,414.30 ms | 3.24 | 583 | 241.8 | 2414.3 | 260.58 MB | 1.00 |
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
```
BenchmarkDotNet v0.14.0, Windows 11 (10.0.22631.4460/23H2/2023Update/SunValley3)
AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics, 1 CPU, 16 logical and 8 physical cores
.NET SDK 9.0.100
[Host] : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job-IHPSBG : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job-FNCVNM : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
EnvironmentVariables=DOTNET_GCDynamicAdaptationMode=0 InvocationCount=Default IterationTime=350ms
MaxIterationCount=15 MinIterationCount=5 WarmupCount=6
Quotes=False Reader=String
```
| Method | Runtime | Scope | Rows | Mean | Ratio | MB | MB/s | ns/row | Allocated | Alloc Ratio |
|------------- |--------- |------ |-------- |-------------:|------:|----:|-------:|-------:|--------------:|------------:|
| Sep______ | .NET 8.0 | Row | 50000 | 4.241 ms | 1.00 | 29 | 6880.5 | 84.8 | 1.18 KB | 1.00 |
| Sep_Unescape | .NET 8.0 | Row | 50000 | 4.205 ms | 0.99 | 29 | 6940.3 | 84.1 | 1.18 KB | 1.00 |
| Sylvan___ | .NET 8.0 | Row | 50000 | 4.644 ms | 1.09 | 29 | 6283.9 | 92.9 | 7.82 KB | 6.64 |
| ReadLine_ | .NET 8.0 | Row | 50000 | 19.647 ms | 4.63 | 29 | 1485.3 | 392.9 | 88608.25 KB | 75,236.19 |
| CsvHelper | .NET 8.0 | Row | 50000 | 63.789 ms | 15.04 | 29 | 457.5 | 1275.8 | 20.11 KB | 17.07 |
| Sep______ | .NET 9.0 | Row | 50000 | 4.232 ms | 1.00 | 29 | 6895.8 | 84.6 | 1.18 KB | 1.00 |
| Sep_Unescape | .NET 9.0 | Row | 50000 | 4.289 ms | 1.01 | 29 | 6804.4 | 85.8 | 1.18 KB | 1.00 |
| Sylvan___ | .NET 9.0 | Row | 50000 | 4.535 ms | 1.07 | 29 | 6435.0 | 90.7 | 7.66 KB | 6.50 |
| ReadLine_ | .NET 9.0 | Row | 50000 | 21.238 ms | 5.01 | 29 | 1374.0 | 424.8 | 88608.28 KB | 75,236.22 |
| CsvHelper | .NET 9.0 | Row | 50000 | 63.038 ms | 14.86 | 29 | 462.9 | 1260.8 | 20.07 KB | 17.04 |
| | | | | | | | | | | |
| Sep______ | .NET 8.0 | Cols | 50000 | 6.424 ms | 1.00 | 29 | 4542.8 | 128.5 | 1.18 KB | 1.00 |
| Sep_Unescape | .NET 8.0 | Cols | 50000 | 6.840 ms | 1.06 | 29 | 4266.1 | 136.8 | 1.19 KB | 1.00 |
| Sylvan___ | .NET 8.0 | Cols | 50000 | 7.939 ms | 1.24 | 29 | 3675.5 | 158.8 | 7.66 KB | 6.47 |
| ReadLine_ | .NET 8.0 | Cols | 50000 | 20.213 ms | 3.15 | 29 | 1443.7 | 404.3 | 88608.25 KB | 74,863.74 |
| CsvHelper | .NET 8.0 | Cols | 50000 | 108.463 ms | 16.89 | 29 | 269.0 | 2169.3 | 448.77 KB | 379.16 |
| Sep______ | .NET 9.0 | Cols | 50000 | 5.938 ms | 0.92 | 29 | 4914.0 | 118.8 | 1.19 KB | 1.00 |
| Sep_Unescape | .NET 9.0 | Cols | 50000 | 6.725 ms | 1.05 | 29 | 4339.0 | 134.5 | 1.19 KB | 1.01 |
| Sylvan___ | .NET 9.0 | Cols | 50000 | 7.389 ms | 1.15 | 29 | 3949.5 | 147.8 | 7.67 KB | 6.48 |
| ReadLine_ | .NET 9.0 | Cols | 50000 | 22.458 ms | 3.50 | 29 | 1299.4 | 449.2 | 88608.28 KB | 74,863.76 |
| CsvHelper | .NET 9.0 | Cols | 50000 | 107.012 ms | 16.66 | 29 | 272.7 | 2140.2 | 445.86 KB | 376.70 |
| | | | | | | | | | | |
| Sep______ | .NET 8.0 | Asset | 50000 | 56.483 ms | 1.00 | 29 | 516.6 | 1129.7 | 13803 KB | 1.00 |
| Sep_MT___ | .NET 8.0 | Asset | 50000 | 36.266 ms | 0.64 | 29 | 804.7 | 725.3 | 13913.54 KB | 1.01 |
| Sylvan___ | .NET 8.0 | Asset | 50000 | 66.143 ms | 1.17 | 29 | 441.2 | 1322.9 | 13962.19 KB | 1.01 |
| ReadLine_ | .NET 8.0 | Asset | 50000 | 160.998 ms | 2.85 | 29 | 181.3 | 3220.0 | 102133.55 KB | 7.40 |
| CsvHelper | .NET 8.0 | Asset | 50000 | 134.636 ms | 2.39 | 29 | 216.7 | 2692.7 | 13970.51 KB | 1.01 |
| Sep______ | .NET 9.0 | Asset | 50000 | 53.734 ms | 0.95 | 29 | 543.1 | 1074.7 | 13803.27 KB | 1.00 |
| Sep_MT___ | .NET 9.0 | Asset | 50000 | 41.328 ms | 0.73 | 29 | 706.1 | 826.6 | 13913.26 KB | 1.01 |
| Sylvan___ | .NET 9.0 | Asset | 50000 | 61.385 ms | 1.09 | 29 | 475.4 | 1227.7 | 13962.88 KB | 1.01 |
| ReadLine_ | .NET 9.0 | Asset | 50000 | 183.518 ms | 3.25 | 29 | 159.0 | 3670.4 | 102134.32 KB | 7.40 |
| CsvHelper | .NET 9.0 | Asset | 50000 | 135.000 ms | 2.39 | 29 | 216.2 | 2700.0 | 13971.38 KB | 1.01 |
| | | | | | | | | | | |
| Sep______ | .NET 8.0 | Asset | 1000000 | 1,043.966 ms | 1.00 | 583 | 559.2 | 1044.0 | 266669.2 KB | 1.00 |
| Sep_MT___ | .NET 8.0 | Asset | 1000000 | 490.970 ms | 0.47 | 583 | 1189.0 | 491.0 | 267857.18 KB | 1.00 |
| Sylvan___ | .NET 8.0 | Asset | 1000000 | 1,307.794 ms | 1.25 | 583 | 446.4 | 1307.8 | 266829.3 KB | 1.00 |
| ReadLine_ | .NET 8.0 | Asset | 1000000 | 3,228.648 ms | 3.09 | 583 | 180.8 | 3228.6 | 2038832.83 KB | 7.65 |
| CsvHelper | .NET 8.0 | Asset | 1000000 | 2,711.992 ms | 2.60 | 583 | 215.3 | 2712.0 | 266842.7 KB | 1.00 |
| Sep______ | .NET 9.0 | Asset | 1000000 | 997.675 ms | 0.96 | 583 | 585.1 | 997.7 | 266670.83 KB | 1.00 |
| Sep_MT___ | .NET 9.0 | Asset | 1000000 | 504.108 ms | 0.48 | 583 | 1158.1 | 504.1 | 269662.73 KB | 1.01 |
| Sylvan___ | .NET 9.0 | Asset | 1000000 | 1,201.556 ms | 1.15 | 583 | 485.9 | 1201.6 | 266825.69 KB | 1.00 |
| ReadLine_ | .NET 9.0 | Asset | 1000000 | 3,308.955 ms | 3.17 | 583 | 176.4 | 3309.0 | 2038844.2 KB | 7.65 |
| CsvHelper | .NET 9.0 | Asset | 1000000 | 2,653.135 ms | 2.54 | 583 | 220.0 | 2653.1 | 266847.2 KB | 1.00 |
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
```
BenchmarkDotNet v0.14.0, Windows 11 (10.0.22631.4460/23H2/2023Update/SunValley3)
AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics, 1 CPU, 16 logical and 8 physical cores
.NET SDK 9.0.100
[Host] : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job-KCKHSP : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job-NSODLD : .NET 9.0.0 (9.0.24.52809), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
EnvironmentVariables=DOTNET_GCDynamicAdaptationMode=0 Server=True InvocationCount=Default
IterationTime=350ms MaxIterationCount=15 MinIterationCount=5
WarmupCount=6 Quotes=True Reader=String
```
| Method | Runtime | Scope | Rows | Mean | Ratio | MB | MB/s | ns/row | Allocated | Alloc Ratio |
|---------- |--------- |------ |-------- |------------:|------:|----:|-------:|-------:|-----------:|------------:|
| Sep______ | .NET 8.0 | Asset | 50000 | 43.03 ms | 1.00 | 33 | 775.7 | 860.6 | 13.48 MB | 1.00 |
| Sep_MT___ | .NET 8.0 | Asset | 50000 | 21.83 ms | 0.51 | 33 | 1529.2 | 436.5 | 13.59 MB | 1.01 |
| Sylvan___ | .NET 8.0 | Asset | 50000 | 73.06 ms | 1.70 | 33 | 456.8 | 1461.2 | 13.63 MB | 1.01 |
| ReadLine_ | .NET 8.0 | Asset | 50000 | 65.21 ms | 1.52 | 33 | 511.9 | 1304.2 | 119.44 MB | 8.86 |
| CsvHelper | .NET 8.0 | Asset | 50000 | 136.28 ms | 3.17 | 33 | 244.9 | 2725.5 | 13.64 MB | 1.01 |
| Sep______ | .NET 9.0 | Asset | 50000 | 39.89 ms | 0.93 | 33 | 836.8 | 797.7 | 13.48 MB | 1.00 |
| Sep_MT___ | .NET 9.0 | Asset | 50000 | 21.11 ms | 0.49 | 33 | 1581.5 | 422.1 | 13.59 MB | 1.01 |
| Sylvan___ | .NET 9.0 | Asset | 50000 | 66.27 ms | 1.54 | 33 | 503.6 | 1325.4 | 13.63 MB | 1.01 |
| ReadLine_ | .NET 9.0 | Asset | 50000 | 62.62 ms | 1.46 | 33 | 533.0 | 1252.5 | 119.44 MB | 8.86 |
| CsvHelper | .NET 9.0 | Asset | 50000 | 113.23 ms | 2.63 | 33 | 294.8 | 2264.6 | 13.64 MB | 1.01 |
| | | | | | | | | | | |
| Sep______ | .NET 8.0 | Asset | 1000000 | 905.17 ms | 1.00 | 667 | 737.7 | 905.2 | 260.41 MB | 1.00 |
| Sep_MT___ | .NET 8.0 | Asset | 1000000 | 402.94 ms | 0.45 | 667 | 1657.1 | 402.9 | 261.91 MB | 1.01 |
| Sylvan___ | .NET 8.0 | Asset | 1000000 | 1,519.41 ms | 1.68 | 667 | 439.5 | 1519.4 | 260.57 MB | 1.00 |
| ReadLine_ | .NET 8.0 | Asset | 1000000 | 1,176.28 ms | 1.30 | 667 | 567.6 | 1176.3 | 2385.07 MB | 9.16 |
| CsvHelper | .NET 8.0 | Asset | 1000000 | 2,767.08 ms | 3.06 | 667 | 241.3 | 2767.1 | 260.58 MB | 1.00 |
| Sep______ | .NET 9.0 | Asset | 1000000 | 837.23 ms | 0.93 | 667 | 797.5 | 837.2 | 260.41 MB | 1.00 |
| Sep_MT___ | .NET 9.0 | Asset | 1000000 | 392.25 ms | 0.43 | 667 | 1702.3 | 392.2 | 261.36 MB | 1.00 |
| Sylvan___ | .NET 9.0 | Asset | 1000000 | 1,352.10 ms | 1.50 | 667 | 493.8 | 1352.1 | 260.57 MB | 1.00 |
| ReadLine_ | .NET 9.0 | Asset | 1000000 | 1,160.25 ms | 1.28 | 667 | 575.5 | 1160.2 | 2385.07 MB | 9.16 |
| CsvHelper | .NET 9.0 | Asset | 1000000 | 2,336.73 ms | 2.58 | 667 | 285.7 | 2336.7 | 260.58 MB | 1.00 |
Loading

0 comments on commit b3705a0

Please sign in to comment.