Constructor's benchmark results added
This commit is contained in:
1 parent
64fdf59f90
commit
8940ba66f5
1 file changed
+533
-1
@@ -1,4 +1,536 @@
|
||||
# `foreach` Benchmarks
|
||||
# Parameter-less `constructor`
|
||||
```CSharp
|
||||
BenchmarkDotNet=v0.13.5, OS=Windows 11 (10.0.22621.1848/22H2/2022Update/SunValley2)
|
||||
AMD Ryzen 7 4700U with Radeon Graphics, 1 CPU, 8 logical and 8 physical cores
|
||||
.NET SDK=7.0.305
|
||||
[Host] : .NET 7.0.8 (7.0.823.31807), X64 RyuJIT AVX2
|
||||
DefaultJob : .NET 7.0.8 (7.0.823.31807), X64 RyuJIT AVX2
|
||||
```
|
||||
<details>
|
||||
<summary><strong>Empty Collection Creation Benchmark Results - click to expand</strong></summary>
|
||||
|
||||
| Method | TestCase | BaseDataType | DataType | Mean | Error | StdDev | Ratio | Gen0 | Allocated | Alloc Ratio |
|
||||
|--------- |--------- |------------- |------------------- |----------:|----------:|----------:|------:|-------:|----------:|------------:|
|
||||
| Baseline | Create | List | Array | 6.667 ns | 0.0216 ns | 0.0180 ns | 1.00 | 0.0153 | 32 B | 1.00 |
|
||||
| Actual | Create | List | Array | 5.204 ns | 0.0343 ns | 0.0304 ns | 0.78 | 0.0115 | 24 B | 0.75 |
|
||||
| | | | | | | | | | | |
|
||||
| Baseline | Create | List | PooledList | 6.383 ns | 0.0141 ns | 0.0118 ns | 1.00 | 0.0153 | 32 B | 1.00 |
|
||||
| Actual | Create | List | PooledList | 11.740 ns | 0.0815 ns | 0.0681 ns | 1.84 | 0.0268 | 56 B | 1.75 |
|
||||
| | | | | | | | | | | |
|
||||
| Baseline | Create | List | RecyclableList | 6.721 ns | 0.0632 ns | 0.0528 ns | 1.00 | 0.0153 | 32 B | 1.00 |
|
||||
| Actual | Create | List | RecyclableList | 9.081 ns | 0.0232 ns | 0.0206 ns | 1.35 | 0.0229 | 48 B | 1.50 |
|
||||
| | | | | | | | | | | |
|
||||
| Baseline | Create | List | RecyclableLongList | 6.624 ns | 0.0146 ns | 0.0130 ns | 1.00 | 0.0153 | 32 B | 1.00 |
|
||||
| Actual | Create | List | RecyclableLongList | 28.379 ns | 0.0283 ns | 0.0221 ns | 4.28 | 0.0497 | 104 B | 3.25 |
|
||||
</details>
|
||||
|
||||
# `constructor` with capacity parameter
|
||||
```CSharp
|
||||
BenchmarkDotNet=v0.13.5, OS=Windows 11 (10.0.22621.1848/22H2/2022Update/SunValley2)
|
||||
AMD Ryzen 7 4700U with Radeon Graphics, 1 CPU, 8 logical and 8 physical cores
|
||||
.NET SDK=7.0.305
|
||||
[Host] : .NET 7.0.8 (7.0.823.31807), X64 RyuJIT AVX2
|
||||
DefaultJob : .NET 7.0.8 (7.0.823.31807), X64 RyuJIT AVX2
|
||||
```
|
||||
<details>
|
||||
<summary><strong>Empty Collection with Desired Capacity Creation Benchmark Results - click to expand</strong></summary>
|
||||
|
||||
| Method | TestCase | BaseDataType | DataType | TestObjectCount | Mean | Error | StdDev | Median | Ratio | RatioSD | Gen0 | Gen1 | Gen2 | Allocated | Alloc Ratio |
|
||||
|--------- |-------------------- |------------- |------------------- |---------------- |-----------------:|---------------:|----------------:|-----------------:|------:|--------:|---------:|---------:|---------:|----------:|------------:|
|
||||
| Baseline | Create_WithCapacity | List | Array | 0 | 8.714 ns | 0.1313 ns | 0.1228 ns | 8.713 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 0 | 6.629 ns | 0.0352 ns | 0.0330 ns | 6.639 ns | 0.76 | 0.01 | 0.0115 | - | - | 24 B | 0.75 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 1 | 11.406 ns | 0.0964 ns | 0.0855 ns | 11.410 ns | 1.00 | 0.00 | 0.0306 | - | - | 64 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 1 | 6.403 ns | 0.0363 ns | 0.0339 ns | 6.408 ns | 0.56 | 0.01 | 0.0153 | - | - | 32 B | 0.50 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 2 | 11.652 ns | 0.1018 ns | 0.0953 ns | 11.694 ns | 1.00 | 0.00 | 0.0344 | - | - | 72 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 2 | 6.666 ns | 0.0283 ns | 0.0264 ns | 6.669 ns | 0.57 | 0.01 | 0.0191 | - | - | 40 B | 0.56 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 3 | 11.849 ns | 0.1084 ns | 0.1014 ns | 11.834 ns | 1.00 | 0.00 | 0.0383 | - | - | 80 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 3 | 6.897 ns | 0.0482 ns | 0.0451 ns | 6.891 ns | 0.58 | 0.01 | 0.0229 | - | - | 48 B | 0.60 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 4 | 12.091 ns | 0.1316 ns | 0.1231 ns | 12.071 ns | 1.00 | 0.00 | 0.0421 | - | - | 88 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 4 | 7.131 ns | 0.0529 ns | 0.0495 ns | 7.105 ns | 0.59 | 0.01 | 0.0268 | - | - | 56 B | 0.64 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 5 | 12.402 ns | 0.0938 ns | 0.0878 ns | 12.370 ns | 1.00 | 0.00 | 0.0459 | - | - | 96 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 5 | 7.359 ns | 0.0516 ns | 0.0482 ns | 7.335 ns | 0.59 | 0.01 | 0.0306 | - | - | 64 B | 0.67 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 6 | 12.588 ns | 0.0430 ns | 0.0336 ns | 12.575 ns | 1.00 | 0.00 | 0.0497 | - | - | 104 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 6 | 7.562 ns | 0.0318 ns | 0.0265 ns | 7.559 ns | 0.60 | 0.00 | 0.0344 | - | - | 72 B | 0.69 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 7 | 12.868 ns | 0.0821 ns | 0.0686 ns | 12.847 ns | 1.00 | 0.00 | 0.0536 | - | - | 112 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 7 | 7.829 ns | 0.0219 ns | 0.0194 ns | 7.830 ns | 0.61 | 0.00 | 0.0383 | - | - | 80 B | 0.71 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 8 | 13.086 ns | 0.0446 ns | 0.0348 ns | 13.080 ns | 1.00 | 0.00 | 0.0574 | - | - | 120 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 8 | 8.077 ns | 0.0160 ns | 0.0134 ns | 8.073 ns | 0.62 | 0.00 | 0.0421 | - | - | 88 B | 0.73 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 9 | 13.343 ns | 0.0593 ns | 0.0526 ns | 13.316 ns | 1.00 | 0.00 | 0.0612 | - | - | 128 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 9 | 8.784 ns | 0.1847 ns | 0.1728 ns | 8.806 ns | 0.66 | 0.02 | 0.0459 | - | - | 96 B | 0.75 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 10 | 22.545 ns | 0.2654 ns | 0.2353 ns | 22.566 ns | 1.00 | 0.00 | 0.0650 | - | - | 136 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 10 | 8.887 ns | 0.0890 ns | 0.0789 ns | 8.876 ns | 0.39 | 0.01 | 0.0497 | - | - | 104 B | 0.76 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 11 | 14.592 ns | 0.1018 ns | 0.0850 ns | 14.559 ns | 1.00 | 0.00 | 0.0688 | - | - | 144 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 11 | 9.602 ns | 0.0284 ns | 0.0252 ns | 9.597 ns | 0.66 | 0.00 | 0.0536 | - | - | 112 B | 0.78 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 12 | 14.477 ns | 0.0268 ns | 0.0209 ns | 14.477 ns | 1.00 | 0.00 | 0.0727 | - | - | 152 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 12 | 9.130 ns | 0.0163 ns | 0.0145 ns | 9.129 ns | 0.63 | 0.00 | 0.0574 | - | - | 120 B | 0.79 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 13 | 14.943 ns | 0.0229 ns | 0.0191 ns | 14.950 ns | 1.00 | 0.00 | 0.0765 | - | - | 160 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 13 | 9.269 ns | 0.0105 ns | 0.0082 ns | 9.269 ns | 0.62 | 0.00 | 0.0612 | - | - | 128 B | 0.80 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 14 | 14.977 ns | 0.0284 ns | 0.0237 ns | 14.975 ns | 1.00 | 0.00 | 0.0803 | - | - | 168 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 14 | 9.498 ns | 0.0525 ns | 0.0491 ns | 9.520 ns | 0.63 | 0.00 | 0.0650 | - | - | 136 B | 0.81 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 15 | 15.182 ns | 0.1011 ns | 0.0945 ns | 15.151 ns | 1.00 | 0.00 | 0.0842 | - | - | 176 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 15 | 9.901 ns | 0.0709 ns | 0.0629 ns | 9.876 ns | 0.65 | 0.01 | 0.0689 | - | - | 144 B | 0.82 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 16 | 15.166 ns | 0.1398 ns | 0.1308 ns | 15.136 ns | 1.00 | 0.00 | 0.0880 | - | - | 184 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 16 | 10.041 ns | 0.0511 ns | 0.0478 ns | 10.024 ns | 0.66 | 0.01 | 0.0727 | - | - | 152 B | 0.83 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 17 | 15.455 ns | 0.1011 ns | 0.0946 ns | 15.403 ns | 1.00 | 0.00 | 0.0918 | - | - | 192 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 17 | 10.285 ns | 0.0581 ns | 0.0544 ns | 10.262 ns | 0.67 | 0.01 | 0.0765 | - | - | 160 B | 0.83 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 18 | 15.484 ns | 0.0232 ns | 0.0206 ns | 15.487 ns | 1.00 | 0.00 | 0.0956 | - | - | 200 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 18 | 10.422 ns | 0.1110 ns | 0.1038 ns | 10.369 ns | 0.67 | 0.01 | 0.0803 | - | - | 168 B | 0.84 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 19 | 15.958 ns | 0.1008 ns | 0.0894 ns | 15.937 ns | 1.00 | 0.00 | 0.0995 | - | - | 208 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 19 | 10.833 ns | 0.0690 ns | 0.0646 ns | 10.803 ns | 0.68 | 0.01 | 0.0842 | - | - | 176 B | 0.85 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 20 | 16.222 ns | 0.0918 ns | 0.0859 ns | 16.176 ns | 1.00 | 0.00 | 0.1033 | - | - | 216 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 20 | 11.029 ns | 0.0881 ns | 0.0824 ns | 11.049 ns | 0.68 | 0.01 | 0.0880 | - | - | 184 B | 0.85 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 30 | 18.674 ns | 0.1195 ns | 0.1060 ns | 18.639 ns | 1.00 | 0.00 | 0.1415 | - | - | 296 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 30 | 13.460 ns | 0.0957 ns | 0.0895 ns | 13.496 ns | 0.72 | 0.01 | 0.1262 | - | - | 264 B | 0.89 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 32 | 19.627 ns | 0.1024 ns | 0.0957 ns | 19.589 ns | 1.00 | 0.00 | 0.1492 | - | - | 312 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 32 | 13.909 ns | 0.0486 ns | 0.0454 ns | 13.890 ns | 0.71 | 0.00 | 0.1339 | - | - | 280 B | 0.90 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 40 | 21.242 ns | 0.2790 ns | 0.2473 ns | 21.114 ns | 1.00 | 0.00 | 0.1798 | - | - | 376 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 40 | 19.097 ns | 0.1308 ns | 0.1224 ns | 19.107 ns | 0.90 | 0.01 | 0.1645 | - | - | 344 B | 0.91 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 50 | 23.691 ns | 0.1323 ns | 0.1237 ns | 23.667 ns | 1.00 | 0.00 | 0.2180 | - | - | 456 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 50 | 18.784 ns | 0.1075 ns | 0.1006 ns | 18.728 ns | 0.79 | 0.01 | 0.2027 | - | - | 424 B | 0.93 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 60 | 26.202 ns | 0.1135 ns | 0.1062 ns | 26.220 ns | 1.00 | 0.00 | 0.2563 | - | - | 536 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 60 | 21.110 ns | 0.1131 ns | 0.1058 ns | 21.046 ns | 0.81 | 0.01 | 0.2410 | - | - | 504 B | 0.94 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 80 | 32.101 ns | 0.1753 ns | 0.1639 ns | 32.038 ns | 1.00 | 0.00 | 0.3328 | - | - | 696 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 80 | 25.643 ns | 0.1122 ns | 0.1049 ns | 25.599 ns | 0.80 | 0.01 | 0.3175 | - | - | 664 B | 0.95 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 90 | 33.431 ns | 0.2009 ns | 0.1879 ns | 33.449 ns | 1.00 | 0.00 | 0.3710 | - | - | 776 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 90 | 27.736 ns | 0.1661 ns | 0.1554 ns | 27.712 ns | 0.83 | 0.01 | 0.3557 | - | - | 744 B | 0.96 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 100 | 36.119 ns | 0.1498 ns | 0.1328 ns | 36.137 ns | 1.00 | 0.00 | 0.4093 | - | - | 856 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 100 | 30.282 ns | 0.1448 ns | 0.1355 ns | 30.271 ns | 0.84 | 0.01 | 0.3940 | - | - | 824 B | 0.96 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 128 | 42.524 ns | 0.2093 ns | 0.1958 ns | 42.538 ns | 1.00 | 0.00 | 0.5162 | - | - | 1080 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 128 | 36.909 ns | 0.1633 ns | 0.1527 ns | 36.880 ns | 0.87 | 0.00 | 0.5010 | - | - | 1048 B | 0.97 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 256 | 73.051 ns | 0.4889 ns | 0.4573 ns | 73.046 ns | 1.00 | 0.00 | 1.0060 | - | - | 2104 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 256 | 64.207 ns | 0.2485 ns | 0.2324 ns | 64.176 ns | 0.88 | 0.01 | 0.9900 | - | - | 2072 B | 0.98 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 512 | 133.209 ns | 1.1952 ns | 1.0595 ns | 132.849 ns | 1.00 | 0.00 | 1.9841 | - | - | 4152 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 512 | 123.064 ns | 0.5115 ns | 0.4785 ns | 122.925 ns | 0.92 | 0.01 | 1.9684 | - | - | 4120 B | 0.99 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 1024 | 267.512 ns | 1.1312 ns | 1.0028 ns | 267.107 ns | 1.00 | 0.00 | 3.9368 | - | - | 8248 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 1024 | 252.721 ns | 1.2063 ns | 1.1284 ns | 252.519 ns | 0.94 | 0.00 | 3.9215 | - | - | 8216 B | 1.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 2048 | 462.780 ns | 2.1967 ns | 2.0548 ns | 463.422 ns | 1.00 | 0.00 | 7.8125 | - | - | 16440 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 2048 | 437.121 ns | 2.6101 ns | 2.4415 ns | 436.278 ns | 0.94 | 0.01 | 7.8125 | - | - | 16408 B | 1.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 4096 | 845.689 ns | 4.4835 ns | 3.7439 ns | 846.104 ns | 1.00 | 0.00 | 15.6240 | - | - | 32824 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 4096 | 799.804 ns | 0.9886 ns | 0.7719 ns | 799.553 ns | 0.94 | 0.00 | 15.6250 | - | - | 32792 B | 1.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 8192 | 1,616.681 ns | 6.7429 ns | 6.3073 ns | 1,613.852 ns | 1.00 | 0.00 | 31.2481 | - | - | 65592 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 8192 | 1,520.594 ns | 6.9327 ns | 6.4849 ns | 1,519.300 ns | 0.94 | 0.00 | 31.2500 | - | - | 65560 B | 1.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 16384 | 5,123.250 ns | 30.8119 ns | 28.8215 ns | 5,113.863 ns | 1.00 | 0.00 | 41.6641 | 41.6641 | 41.6641 | 131142 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 16384 | 5,086.137 ns | 34.4958 ns | 30.5797 ns | 5,083.914 ns | 0.99 | 0.01 | 41.6641 | 41.6641 | 41.6641 | 131110 B | 1.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 32768 | 8,440.835 ns | 51.5465 ns | 45.6946 ns | 8,437.166 ns | 1.00 | 0.00 | 83.3282 | 83.3282 | 83.3282 | 262228 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 32768 | 8,452.798 ns | 50.3316 ns | 42.0292 ns | 8,444.701 ns | 1.00 | 0.01 | 83.3282 | 83.3282 | 83.3282 | 262196 B | 1.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 65536 | 53,565.680 ns | 1,067.9711 ns | 2,157.3543 ns | 53,531.863 ns | 1.00 | 0.00 | 27.9541 | 27.7100 | 27.7100 | 524492 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 65536 | 50,026.483 ns | 996.1813 ns | 1,718.3637 ns | 50,328.442 ns | 0.94 | 0.05 | 11.2915 | 11.2915 | 11.2915 | 524311 B | 1.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 131072 | 100,336.037 ns | 1,966.6195 ns | 3,596.0750 ns | 99,341.663 ns | 1.00 | 0.00 | 22.0947 | 21.9727 | 21.9727 | 1048717 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 131072 | 102,316.583 ns | 1,991.4664 ns | 2,130.8467 ns | 101,931.219 ns | 1.01 | 0.05 | 18.6768 | 18.6768 | 18.6768 | 1048604 B | 1.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | Array | 850000 | 897,556.717 ns | 53,756.9174 ns | 157,659.7331 ns | 848,449.121 ns | 1.00 | 0.00 | 111.3281 | 111.3281 | 111.3281 | 6800538 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | Array | 850000 | 1,023,460.941 ns | 27,049.1479 ns | 79,755.0229 ns | 1,010,617.969 ns | 1.17 | 0.22 | 115.2344 | 115.2344 | 115.2344 | 6800058 B | 1.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 0 | 8.655 ns | 0.1085 ns | 0.0962 ns | 8.643 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 0 | 15.515 ns | 0.0848 ns | 0.0793 ns | 15.500 ns | 1.79 | 0.01 | 0.0268 | - | - | 56 B | 1.75 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 1 | 11.362 ns | 0.0844 ns | 0.0789 ns | 11.315 ns | 1.00 | 0.00 | 0.0306 | - | - | 64 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 1 | 34.060 ns | 0.2318 ns | 0.2168 ns | 34.199 ns | 3.00 | 0.03 | 0.0268 | - | - | 56 B | 0.88 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 2 | 11.626 ns | 0.0790 ns | 0.0739 ns | 11.608 ns | 1.00 | 0.00 | 0.0344 | - | - | 72 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 2 | 34.129 ns | 0.2767 ns | 0.2453 ns | 34.078 ns | 2.94 | 0.02 | 0.0268 | - | - | 56 B | 0.78 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 3 | 11.855 ns | 0.0681 ns | 0.0637 ns | 11.840 ns | 1.00 | 0.00 | 0.0383 | - | - | 80 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 3 | 34.552 ns | 0.6444 ns | 0.5712 ns | 34.395 ns | 2.91 | 0.05 | 0.0268 | - | - | 56 B | 0.70 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 4 | 12.163 ns | 0.1127 ns | 0.0999 ns | 12.164 ns | 1.00 | 0.00 | 0.0421 | - | - | 88 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 4 | 33.769 ns | 0.0314 ns | 0.0278 ns | 33.759 ns | 2.78 | 0.02 | 0.0268 | - | - | 56 B | 0.64 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 5 | 12.397 ns | 0.0724 ns | 0.0605 ns | 12.379 ns | 1.00 | 0.00 | 0.0459 | - | - | 96 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 5 | 34.134 ns | 0.3640 ns | 0.3227 ns | 34.104 ns | 2.75 | 0.03 | 0.0268 | - | - | 56 B | 0.58 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 6 | 12.644 ns | 0.0531 ns | 0.0415 ns | 12.648 ns | 1.00 | 0.00 | 0.0497 | - | - | 104 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 6 | 33.753 ns | 0.0387 ns | 0.0343 ns | 33.749 ns | 2.67 | 0.01 | 0.0268 | - | - | 56 B | 0.54 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 7 | 12.871 ns | 0.0153 ns | 0.0128 ns | 12.867 ns | 1.00 | 0.00 | 0.0536 | - | - | 112 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 7 | 33.963 ns | 0.2205 ns | 0.2063 ns | 33.934 ns | 2.64 | 0.02 | 0.0268 | - | - | 56 B | 0.50 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 8 | 13.093 ns | 0.0142 ns | 0.0118 ns | 13.088 ns | 1.00 | 0.00 | 0.0574 | - | - | 120 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 8 | 33.814 ns | 0.1842 ns | 0.1723 ns | 33.704 ns | 2.58 | 0.01 | 0.0268 | - | - | 56 B | 0.47 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 9 | 13.388 ns | 0.0410 ns | 0.0384 ns | 13.396 ns | 1.00 | 0.00 | 0.0612 | - | - | 128 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 9 | 33.843 ns | 0.1018 ns | 0.0850 ns | 33.829 ns | 2.53 | 0.01 | 0.0268 | - | - | 56 B | 0.44 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 10 | 13.613 ns | 0.0349 ns | 0.0309 ns | 13.609 ns | 1.00 | 0.00 | 0.0650 | - | - | 136 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 10 | 34.293 ns | 0.0635 ns | 0.0563 ns | 34.279 ns | 2.52 | 0.01 | 0.0268 | - | - | 56 B | 0.41 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 11 | 13.976 ns | 0.0315 ns | 0.0295 ns | 13.967 ns | 1.00 | 0.00 | 0.0688 | - | - | 144 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 11 | 33.992 ns | 0.2825 ns | 0.2504 ns | 33.956 ns | 2.43 | 0.02 | 0.0268 | - | - | 56 B | 0.39 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 12 | 14.231 ns | 0.0288 ns | 0.0240 ns | 14.226 ns | 1.00 | 0.00 | 0.0727 | - | - | 152 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 12 | 33.799 ns | 0.0911 ns | 0.0808 ns | 33.761 ns | 2.38 | 0.01 | 0.0268 | - | - | 56 B | 0.37 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 13 | 14.372 ns | 0.0829 ns | 0.0776 ns | 14.339 ns | 1.00 | 0.00 | 0.0765 | - | - | 160 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 13 | 33.873 ns | 0.2850 ns | 0.2666 ns | 33.851 ns | 2.36 | 0.02 | 0.0268 | - | - | 56 B | 0.35 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 14 | 14.752 ns | 0.1039 ns | 0.0921 ns | 14.699 ns | 1.00 | 0.00 | 0.0803 | - | - | 168 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 14 | 34.318 ns | 0.5025 ns | 0.4700 ns | 34.347 ns | 2.33 | 0.03 | 0.0268 | - | - | 56 B | 0.33 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 15 | 15.023 ns | 0.0912 ns | 0.0853 ns | 15.066 ns | 1.00 | 0.00 | 0.0842 | - | - | 176 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 15 | 34.141 ns | 0.3981 ns | 0.3724 ns | 33.907 ns | 2.27 | 0.02 | 0.0268 | - | - | 56 B | 0.32 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 16 | 15.241 ns | 0.1311 ns | 0.1163 ns | 15.206 ns | 1.00 | 0.00 | 0.0880 | - | - | 184 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 16 | 34.173 ns | 0.1336 ns | 0.1185 ns | 34.198 ns | 2.24 | 0.02 | 0.0268 | - | - | 56 B | 0.30 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 17 | 15.523 ns | 0.0861 ns | 0.0763 ns | 15.543 ns | 1.00 | 0.00 | 0.0918 | - | - | 192 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 17 | 34.268 ns | 0.2487 ns | 0.2205 ns | 34.249 ns | 2.21 | 0.02 | 0.0268 | - | - | 56 B | 0.29 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 18 | 15.615 ns | 0.1082 ns | 0.1012 ns | 15.607 ns | 1.00 | 0.00 | 0.0956 | - | - | 200 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 18 | 34.444 ns | 0.4586 ns | 0.4290 ns | 34.158 ns | 2.21 | 0.03 | 0.0268 | - | - | 56 B | 0.28 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 19 | 15.992 ns | 0.1521 ns | 0.1423 ns | 15.930 ns | 1.00 | 0.00 | 0.0995 | - | - | 208 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 19 | 34.360 ns | 0.2682 ns | 0.2509 ns | 34.400 ns | 2.15 | 0.03 | 0.0268 | - | - | 56 B | 0.27 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 20 | 16.187 ns | 0.0875 ns | 0.0818 ns | 16.153 ns | 1.00 | 0.00 | 0.1033 | - | - | 216 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 20 | 34.230 ns | 0.3034 ns | 0.2689 ns | 34.214 ns | 2.11 | 0.02 | 0.0268 | - | - | 56 B | 0.26 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 30 | 18.746 ns | 0.1319 ns | 0.1234 ns | 18.673 ns | 1.00 | 0.00 | 0.1415 | - | - | 296 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 30 | 34.688 ns | 0.2969 ns | 0.2777 ns | 34.622 ns | 1.85 | 0.02 | 0.0268 | - | - | 56 B | 0.19 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 32 | 19.243 ns | 0.1395 ns | 0.1236 ns | 19.194 ns | 1.00 | 0.00 | 0.1492 | - | - | 312 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 32 | 34.270 ns | 0.3014 ns | 0.2672 ns | 34.210 ns | 1.78 | 0.02 | 0.0268 | - | - | 56 B | 0.18 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 40 | 21.320 ns | 0.0609 ns | 0.0509 ns | 21.321 ns | 1.00 | 0.00 | 0.1798 | - | - | 376 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 40 | 34.099 ns | 0.3050 ns | 0.2853 ns | 34.185 ns | 1.60 | 0.01 | 0.0268 | - | - | 56 B | 0.15 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 50 | 23.539 ns | 0.1276 ns | 0.1131 ns | 23.549 ns | 1.00 | 0.00 | 0.2180 | - | - | 456 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 50 | 34.088 ns | 0.3917 ns | 0.3472 ns | 33.975 ns | 1.45 | 0.02 | 0.0268 | - | - | 56 B | 0.12 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 60 | 26.437 ns | 0.0713 ns | 0.0667 ns | 26.403 ns | 1.00 | 0.00 | 0.2563 | - | - | 536 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 60 | 33.838 ns | 0.0854 ns | 0.0667 ns | 33.839 ns | 1.28 | 0.00 | 0.0268 | - | - | 56 B | 0.10 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 80 | 31.341 ns | 0.0759 ns | 0.0673 ns | 31.336 ns | 1.00 | 0.00 | 0.3328 | - | - | 696 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 80 | 33.952 ns | 0.1301 ns | 0.1154 ns | 33.929 ns | 1.08 | 0.00 | 0.0268 | - | - | 56 B | 0.08 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 850000 | 692,793.051 ns | 23,870.1539 ns | 69,251.6447 ns | 680,546.680 ns | 1.000 | 0.00 | 103.5156 | 103.5156 | 103.5156 | 6800105 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 850000 | 34.607 ns | 0.5179 ns | 0.4844 ns | 34.482 ns | 0.000 | 0.00 | 0.0268 | - | - | 56 B | 0.000 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 90 | 33.768 ns | 0.3482 ns | 0.3086 ns | 33.629 ns | 1.00 | 0.00 | 0.3710 | - | - | 776 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 90 | 33.990 ns | 0.1582 ns | 0.1402 ns | 33.940 ns | 1.01 | 0.01 | 0.0268 | - | - | 56 B | 0.07 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 100 | 35.820 ns | 0.0419 ns | 0.0350 ns | 35.832 ns | 1.00 | 0.00 | 0.4093 | - | - | 856 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 100 | 33.786 ns | 0.0671 ns | 0.0561 ns | 33.805 ns | 0.94 | 0.00 | 0.0268 | - | - | 56 B | 0.07 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 128 | 42.385 ns | 0.1777 ns | 0.1575 ns | 42.420 ns | 1.00 | 0.00 | 0.5162 | - | - | 1080 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 128 | 33.967 ns | 0.1622 ns | 0.1517 ns | 34.008 ns | 0.80 | 0.01 | 0.0268 | - | - | 56 B | 0.05 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 256 | 71.390 ns | 0.2022 ns | 0.1792 ns | 71.322 ns | 1.00 | 0.00 | 1.0060 | - | - | 2104 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 256 | 34.560 ns | 0.3177 ns | 0.2972 ns | 34.578 ns | 0.48 | 0.00 | 0.0268 | - | - | 56 B | 0.03 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 512 | 131.610 ns | 0.3758 ns | 0.3331 ns | 131.766 ns | 1.00 | 0.00 | 1.9841 | - | - | 4152 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 512 | 34.429 ns | 0.3093 ns | 0.2415 ns | 34.522 ns | 0.26 | 0.00 | 0.0268 | - | - | 56 B | 0.01 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 1024 | 264.794 ns | 1.2910 ns | 1.2076 ns | 264.291 ns | 1.00 | 0.00 | 3.9368 | - | - | 8248 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 1024 | 34.837 ns | 0.3531 ns | 0.3303 ns | 34.862 ns | 0.13 | 0.00 | 0.0268 | - | - | 56 B | 0.007 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 2048 | 456.592 ns | 2.9492 ns | 2.6144 ns | 455.380 ns | 1.00 | 0.00 | 7.8125 | - | - | 16440 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 2048 | 34.873 ns | 0.4580 ns | 0.4284 ns | 34.847 ns | 0.08 | 0.00 | 0.0268 | - | - | 56 B | 0.003 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 4096 | 852.507 ns | 4.1917 ns | 3.9209 ns | 851.484 ns | 1.00 | 0.00 | 15.6240 | - | - | 32824 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 4096 | 34.966 ns | 0.5172 ns | 0.4837 ns | 35.000 ns | 0.04 | 0.00 | 0.0268 | - | - | 56 B | 0.002 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 8192 | 1,605.053 ns | 13.4183 ns | 12.5515 ns | 1,602.863 ns | 1.00 | 0.00 | 31.2481 | - | - | 65592 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 8192 | 35.151 ns | 0.3058 ns | 0.2860 ns | 35.225 ns | 0.02 | 0.00 | 0.0268 | - | - | 56 B | 0.001 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 16384 | 5,096.998 ns | 25.9951 ns | 23.0440 ns | 5,093.412 ns | 1.000 | 0.00 | 41.6641 | 41.6641 | 41.6641 | 131142 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 16384 | 35.350 ns | 0.4559 ns | 0.4264 ns | 35.481 ns | 0.007 | 0.00 | 0.0268 | - | - | 56 B | 0.000 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 32768 | 8,442.534 ns | 36.2311 ns | 30.2546 ns | 8,449.425 ns | 1.000 | 0.00 | 83.3282 | 83.3282 | 83.3282 | 262228 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 32768 | 35.465 ns | 0.4469 ns | 0.3962 ns | 35.462 ns | 0.004 | 0.00 | 0.0268 | - | - | 56 B | 0.000 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 65536 | 53,317.986 ns | 1,100.5281 ns | 3,244.9320 ns | 53,393.344 ns | 1.000 | 0.00 | 19.2871 | 19.1650 | 19.1650 | 524428 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 65536 | 35.601 ns | 0.3575 ns | 0.3344 ns | 35.653 ns | 0.001 | 0.00 | 0.0268 | - | - | 56 B | 0.000 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | PooledList | 131072 | 102,039.530 ns | 2,010.7738 ns | 2,542.9850 ns | 101,490.417 ns | 1.000 | 0.00 | 23.8037 | 23.6816 | 23.6816 | 1048725 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | PooledList | 131072 | 35.182 ns | 0.6068 ns | 0.5676 ns | 35.278 ns | 0.000 | 0.00 | 0.0268 | - | - | 56 B | 0.000 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 0 | 8.594 ns | 0.0421 ns | 0.0394 ns | 8.579 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 0 | 10.184 ns | 0.0717 ns | 0.0635 ns | 10.174 ns | 1.19 | 0.01 | 0.0229 | - | - | 48 B | 1.50 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 1 | 11.688 ns | 0.0927 ns | 0.0867 ns | 11.681 ns | 1.00 | 0.00 | 0.0306 | - | - | 64 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 1 | 14.721 ns | 0.1039 ns | 0.0811 ns | 14.723 ns | 1.26 | 0.01 | 0.0382 | - | - | 80 B | 1.25 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 2 | 11.975 ns | 0.1350 ns | 0.1263 ns | 11.946 ns | 1.00 | 0.00 | 0.0344 | - | - | 72 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 2 | 14.954 ns | 0.1839 ns | 0.1720 ns | 14.953 ns | 1.25 | 0.02 | 0.0421 | - | - | 88 B | 1.22 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 3 | 12.373 ns | 0.1820 ns | 0.1613 ns | 12.422 ns | 1.00 | 0.00 | 0.0383 | - | - | 80 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 3 | 15.330 ns | 0.0849 ns | 0.0794 ns | 15.322 ns | 1.24 | 0.02 | 0.0459 | - | - | 96 B | 1.20 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 4 | 12.394 ns | 0.1367 ns | 0.1278 ns | 12.357 ns | 1.00 | 0.00 | 0.0421 | - | - | 88 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 4 | 15.628 ns | 0.1562 ns | 0.1462 ns | 15.586 ns | 1.26 | 0.02 | 0.0497 | - | - | 104 B | 1.18 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 5 | 12.739 ns | 0.0930 ns | 0.0870 ns | 12.744 ns | 1.00 | 0.00 | 0.0459 | - | - | 96 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 5 | 15.645 ns | 0.1577 ns | 0.1475 ns | 15.696 ns | 1.23 | 0.02 | 0.0536 | - | - | 112 B | 1.17 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 6 | 12.874 ns | 0.0861 ns | 0.0805 ns | 12.835 ns | 1.00 | 0.00 | 0.0497 | - | - | 104 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 6 | 16.066 ns | 0.1135 ns | 0.1062 ns | 16.018 ns | 1.25 | 0.01 | 0.0574 | - | - | 120 B | 1.15 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 7 | 13.253 ns | 0.1182 ns | 0.1106 ns | 13.204 ns | 1.00 | 0.00 | 0.0536 | - | - | 112 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 7 | 16.251 ns | 0.0240 ns | 0.0187 ns | 16.248 ns | 1.23 | 0.01 | 0.0612 | - | - | 128 B | 1.14 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 8 | 13.419 ns | 0.0485 ns | 0.0405 ns | 13.414 ns | 1.00 | 0.00 | 0.0574 | - | - | 120 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 8 | 16.578 ns | 0.0322 ns | 0.0269 ns | 16.580 ns | 1.24 | 0.01 | 0.0650 | - | - | 136 B | 1.13 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 9 | 13.657 ns | 0.1319 ns | 0.1101 ns | 13.613 ns | 1.00 | 0.00 | 0.0612 | - | - | 128 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 9 | 16.932 ns | 0.0624 ns | 0.0521 ns | 16.913 ns | 1.24 | 0.01 | 0.0688 | - | - | 144 B | 1.12 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 10 | 13.903 ns | 0.0310 ns | 0.0258 ns | 13.900 ns | 1.00 | 0.00 | 0.0650 | - | - | 136 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 10 | 17.131 ns | 0.0634 ns | 0.0495 ns | 17.117 ns | 1.23 | 0.00 | 0.0727 | - | - | 152 B | 1.12 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 11 | 14.165 ns | 0.0494 ns | 0.0438 ns | 14.154 ns | 1.00 | 0.00 | 0.0688 | - | - | 144 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 11 | 17.403 ns | 0.0766 ns | 0.0679 ns | 17.397 ns | 1.23 | 0.01 | 0.0765 | - | - | 160 B | 1.11 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 12 | 14.373 ns | 0.0878 ns | 0.0821 ns | 14.322 ns | 1.00 | 0.00 | 0.0727 | - | - | 152 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 12 | 17.409 ns | 0.2031 ns | 0.1900 ns | 17.410 ns | 1.21 | 0.02 | 0.0803 | - | - | 168 B | 1.11 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 13 | 14.779 ns | 0.1245 ns | 0.1164 ns | 14.730 ns | 1.00 | 0.00 | 0.0765 | - | - | 160 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 13 | 17.958 ns | 0.1177 ns | 0.1101 ns | 17.914 ns | 1.22 | 0.01 | 0.0842 | - | - | 176 B | 1.10 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 14 | 14.947 ns | 0.0776 ns | 0.0648 ns | 14.926 ns | 1.00 | 0.00 | 0.0803 | - | - | 168 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 14 | 18.129 ns | 0.1374 ns | 0.1285 ns | 18.081 ns | 1.21 | 0.01 | 0.0880 | - | - | 184 B | 1.10 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 15 | 15.187 ns | 0.0788 ns | 0.0737 ns | 15.162 ns | 1.00 | 0.00 | 0.0842 | - | - | 176 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 15 | 18.500 ns | 0.1315 ns | 0.1230 ns | 18.409 ns | 1.22 | 0.01 | 0.0918 | - | - | 192 B | 1.09 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 16 | 15.439 ns | 0.1542 ns | 0.1442 ns | 15.423 ns | 1.00 | 0.00 | 0.0880 | - | - | 184 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 16 | 18.582 ns | 0.0914 ns | 0.0855 ns | 18.549 ns | 1.20 | 0.01 | 0.0956 | - | - | 200 B | 1.09 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 17 | 15.704 ns | 0.1251 ns | 0.1109 ns | 15.656 ns | 1.00 | 0.00 | 0.0918 | - | - | 192 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 17 | 18.901 ns | 0.1149 ns | 0.1018 ns | 18.864 ns | 1.20 | 0.01 | 0.0995 | - | - | 208 B | 1.08 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 18 | 15.769 ns | 0.0355 ns | 0.0277 ns | 15.768 ns | 1.00 | 0.00 | 0.0956 | - | - | 200 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 18 | 19.053 ns | 0.0295 ns | 0.0247 ns | 19.057 ns | 1.21 | 0.00 | 0.1033 | - | - | 216 B | 1.08 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 19 | 16.215 ns | 0.1392 ns | 0.1163 ns | 16.179 ns | 1.00 | 0.00 | 0.0995 | - | - | 208 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 19 | 19.472 ns | 0.0264 ns | 0.0220 ns | 19.465 ns | 1.20 | 0.01 | 0.1071 | - | - | 224 B | 1.08 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 20 | 16.466 ns | 0.0237 ns | 0.0198 ns | 16.464 ns | 1.00 | 0.00 | 0.1033 | - | - | 216 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 20 | 19.697 ns | 0.0375 ns | 0.0351 ns | 19.691 ns | 1.20 | 0.00 | 0.1109 | - | - | 232 B | 1.07 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 30 | 19.150 ns | 0.3181 ns | 0.2976 ns | 18.974 ns | 1.00 | 0.00 | 0.1415 | - | - | 296 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 30 | 22.146 ns | 0.1283 ns | 0.1200 ns | 22.075 ns | 1.16 | 0.02 | 0.1492 | - | - | 312 B | 1.05 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 32 | 19.289 ns | 0.1191 ns | 0.1055 ns | 19.266 ns | 1.00 | 0.00 | 0.1492 | - | - | 312 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 32 | 22.789 ns | 0.1552 ns | 0.1451 ns | 22.769 ns | 1.18 | 0.01 | 0.1568 | - | - | 328 B | 1.05 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 40 | 21.579 ns | 0.1342 ns | 0.1255 ns | 21.554 ns | 1.00 | 0.00 | 0.1798 | - | - | 376 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 40 | 24.912 ns | 0.1486 ns | 0.1390 ns | 24.977 ns | 1.15 | 0.01 | 0.1874 | - | - | 392 B | 1.04 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 50 | 23.980 ns | 0.1579 ns | 0.1477 ns | 24.049 ns | 1.00 | 0.00 | 0.2180 | - | - | 456 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 50 | 27.138 ns | 0.3871 ns | 0.3022 ns | 27.246 ns | 1.13 | 0.01 | 0.2257 | - | - | 472 B | 1.04 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 60 | 26.547 ns | 0.1512 ns | 0.1415 ns | 26.502 ns | 1.00 | 0.00 | 0.2563 | - | - | 536 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 60 | 29.786 ns | 0.1632 ns | 0.1447 ns | 29.742 ns | 1.12 | 0.01 | 0.2639 | - | - | 552 B | 1.03 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 80 | 31.359 ns | 0.2146 ns | 0.2007 ns | 31.337 ns | 1.00 | 0.00 | 0.3328 | - | - | 696 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 80 | 35.185 ns | 0.2506 ns | 0.2345 ns | 35.168 ns | 1.12 | 0.01 | 0.3405 | - | - | 712 B | 1.02 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 90 | 33.852 ns | 0.2701 ns | 0.2526 ns | 33.748 ns | 1.00 | 0.00 | 0.3710 | - | - | 776 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 90 | 37.328 ns | 0.4570 ns | 0.4051 ns | 37.172 ns | 1.10 | 0.02 | 0.3786 | - | - | 792 B | 1.02 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 100 | 38.789 ns | 0.7649 ns | 1.3596 ns | 38.708 ns | 1.00 | 0.00 | 0.4093 | - | - | 856 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 100 | 64.431 ns | 0.1704 ns | 0.1594 ns | 64.441 ns | 1.70 | 0.05 | 0.4170 | - | - | 872 B | 1.02 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 128 | 47.310 ns | 0.2394 ns | 0.2239 ns | 47.222 ns | 1.00 | 0.00 | 0.5162 | - | - | 1080 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 128 | 36.539 ns | 0.0887 ns | 0.0693 ns | 36.526 ns | 0.77 | 0.00 | 0.0229 | - | - | 48 B | 0.04 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 256 | 74.783 ns | 0.1371 ns | 0.1145 ns | 74.794 ns | 1.00 | 0.00 | 1.0060 | - | - | 2104 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 256 | 37.211 ns | 0.0504 ns | 0.0394 ns | 37.213 ns | 0.50 | 0.00 | 0.0229 | - | - | 48 B | 0.02 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 512 | 168.731 ns | 0.3787 ns | 0.3543 ns | 168.751 ns | 1.00 | 0.00 | 1.9841 | - | - | 4152 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 512 | 36.824 ns | 0.1265 ns | 0.0988 ns | 36.793 ns | 0.22 | 0.00 | 0.0229 | - | - | 48 B | 0.01 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 1024 | 270.238 ns | 0.3855 ns | 0.3417 ns | 270.265 ns | 1.00 | 0.00 | 3.9368 | - | - | 8248 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 1024 | 36.460 ns | 0.0609 ns | 0.0540 ns | 36.457 ns | 0.13 | 0.00 | 0.0229 | - | - | 48 B | 0.006 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 2048 | 460.819 ns | 1.0008 ns | 0.8871 ns | 460.449 ns | 1.00 | 0.00 | 7.8125 | - | - | 16440 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 2048 | 36.361 ns | 0.0767 ns | 0.0680 ns | 36.352 ns | 0.08 | 0.00 | 0.0229 | - | - | 48 B | 0.003 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 4096 | 853.192 ns | 3.1065 ns | 2.7538 ns | 853.514 ns | 1.00 | 0.00 | 15.6240 | - | - | 32824 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 4096 | 36.292 ns | 0.1330 ns | 0.1179 ns | 36.276 ns | 0.04 | 0.00 | 0.0229 | - | - | 48 B | 0.001 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 8192 | 1,614.789 ns | 5.1530 ns | 4.5680 ns | 1,614.777 ns | 1.00 | 0.00 | 31.2481 | - | - | 65592 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 8192 | 36.447 ns | 0.0954 ns | 0.0892 ns | 36.407 ns | 0.02 | 0.00 | 0.0229 | - | - | 48 B | 0.001 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 16384 | 5,193.501 ns | 18.8903 ns | 17.6700 ns | 5,195.496 ns | 1.000 | 0.00 | 41.6641 | 41.6641 | 41.6641 | 131142 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 16384 | 39.268 ns | 0.0985 ns | 0.0921 ns | 39.244 ns | 0.008 | 0.00 | 0.0229 | - | - | 48 B | 0.000 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 32768 | 8,605.599 ns | 72.3523 ns | 67.6783 ns | 8,584.355 ns | 1.000 | 0.00 | 83.3282 | 83.3282 | 83.3282 | 262228 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 32768 | 35.800 ns | 0.0930 ns | 0.0776 ns | 35.775 ns | 0.004 | 0.00 | 0.0229 | - | - | 48 B | 0.000 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 65536 | 54,742.416 ns | 1,077.6859 ns | 2,683.8117 ns | 54,756.287 ns | 1.000 | 0.00 | 23.6816 | 23.4985 | 23.4985 | 524455 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 65536 | 35.816 ns | 0.0566 ns | 0.0473 ns | 35.808 ns | 0.001 | 0.00 | 0.0229 | - | - | 48 B | 0.000 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 131072 | 105,423.681 ns | 2,001.9799 ns | 3,506.3063 ns | 104,747.559 ns | 1.000 | 0.00 | 20.0195 | 19.8975 | 19.8975 | 1048711 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 131072 | 35.678 ns | 0.1328 ns | 0.1037 ns | 35.645 ns | 0.000 | 0.00 | 0.0229 | - | - | 48 B | 0.000 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableList | 850000 | 773,310.142 ns | 50,214.4180 ns | 144,880.0772 ns | 754,836.523 ns | 1.000 | 0.00 | 123.0469 | 123.0469 | 123.0469 | 6801020 B | 1.000 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableList | 850000 | 35.568 ns | 0.1562 ns | 0.1385 ns | 35.545 ns | 0.000 | 0.00 | 0.0229 | - | - | 48 B | 0.000 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 0 | 8.572 ns | 0.0904 ns | 0.0845 ns | 8.519 ns | 1.00 | 0.00 | 0.0153 | - | - | 32 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 0 | 22.760 ns | 0.2225 ns | 0.2081 ns | 22.629 ns | 2.66 | 0.04 | 0.0497 | - | - | 104 B | 3.25 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 1 | 11.447 ns | 0.0682 ns | 0.0638 ns | 11.419 ns | 1.00 | 0.00 | 0.0306 | - | - | 64 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 1 | 37.427 ns | 0.3976 ns | 0.3720 ns | 37.325 ns | 3.27 | 0.03 | 0.0803 | - | - | 168 B | 2.62 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 2 | 11.749 ns | 0.0741 ns | 0.0694 ns | 11.715 ns | 1.00 | 0.00 | 0.0344 | - | - | 72 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 2 | 37.830 ns | 0.3315 ns | 0.3101 ns | 37.930 ns | 3.22 | 0.03 | 0.0842 | - | - | 176 B | 2.44 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 3 | 11.978 ns | 0.0885 ns | 0.0828 ns | 11.987 ns | 1.00 | 0.00 | 0.0383 | - | - | 80 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 3 | 38.902 ns | 0.1850 ns | 0.1731 ns | 38.888 ns | 3.25 | 0.03 | 0.0918 | - | - | 192 B | 2.40 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 4 | 12.212 ns | 0.1202 ns | 0.1125 ns | 12.242 ns | 1.00 | 0.00 | 0.0421 | - | - | 88 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 4 | 38.549 ns | 0.2926 ns | 0.2737 ns | 38.495 ns | 3.16 | 0.03 | 0.0918 | - | - | 192 B | 2.18 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 5 | 14.404 ns | 0.5659 ns | 1.6328 ns | 13.798 ns | 1.00 | 0.00 | 0.0459 | - | - | 96 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 5 | 39.810 ns | 0.2085 ns | 0.1848 ns | 39.848 ns | 2.80 | 0.29 | 0.1071 | - | - | 224 B | 2.33 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 6 | 12.832 ns | 0.0268 ns | 0.0209 ns | 12.826 ns | 1.00 | 0.00 | 0.0497 | - | - | 104 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 6 | 39.667 ns | 0.2667 ns | 0.2494 ns | 39.677 ns | 3.09 | 0.02 | 0.1071 | - | - | 224 B | 2.15 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 7 | 13.204 ns | 0.1299 ns | 0.1215 ns | 13.151 ns | 1.00 | 0.00 | 0.0536 | - | - | 112 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 7 | 39.510 ns | 0.4968 ns | 0.4647 ns | 39.256 ns | 2.99 | 0.05 | 0.1071 | - | - | 224 B | 2.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 8 | 13.430 ns | 0.1543 ns | 0.1443 ns | 13.365 ns | 1.00 | 0.00 | 0.0574 | - | - | 120 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 8 | 40.046 ns | 0.4120 ns | 0.3854 ns | 40.146 ns | 2.98 | 0.04 | 0.1071 | - | - | 224 B | 1.87 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 9 | 13.416 ns | 0.0828 ns | 0.0775 ns | 13.375 ns | 1.00 | 0.00 | 0.0612 | - | - | 128 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 9 | 41.630 ns | 0.5000 ns | 0.4433 ns | 41.525 ns | 3.10 | 0.03 | 0.1377 | - | - | 288 B | 2.25 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 10 | 13.822 ns | 0.0799 ns | 0.0667 ns | 13.809 ns | 1.00 | 0.00 | 0.0650 | - | - | 136 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 10 | 41.556 ns | 0.2453 ns | 0.2048 ns | 41.489 ns | 3.01 | 0.02 | 0.1377 | - | - | 288 B | 2.12 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 11 | 14.240 ns | 0.0522 ns | 0.0436 ns | 14.228 ns | 1.00 | 0.00 | 0.0688 | - | - | 144 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 11 | 41.488 ns | 0.2212 ns | 0.1961 ns | 41.545 ns | 2.91 | 0.02 | 0.1377 | - | - | 288 B | 2.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 12 | 14.482 ns | 0.0512 ns | 0.0454 ns | 14.474 ns | 1.00 | 0.00 | 0.0727 | - | - | 152 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 12 | 41.552 ns | 0.1869 ns | 0.1657 ns | 41.573 ns | 2.87 | 0.01 | 0.1377 | - | - | 288 B | 1.89 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 13 | 14.764 ns | 0.1356 ns | 0.1269 ns | 14.697 ns | 1.00 | 0.00 | 0.0765 | - | - | 160 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 13 | 41.687 ns | 0.3872 ns | 0.3621 ns | 41.608 ns | 2.82 | 0.04 | 0.1377 | - | - | 288 B | 1.80 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 14 | 14.965 ns | 0.1195 ns | 0.1118 ns | 14.996 ns | 1.00 | 0.00 | 0.0803 | - | - | 168 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 14 | 41.609 ns | 0.3153 ns | 0.2949 ns | 41.615 ns | 2.78 | 0.02 | 0.1377 | - | - | 288 B | 1.71 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 15 | 15.372 ns | 0.1274 ns | 0.1191 ns | 15.323 ns | 1.00 | 0.00 | 0.0842 | - | - | 176 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 15 | 41.579 ns | 0.2887 ns | 0.2559 ns | 41.574 ns | 2.70 | 0.02 | 0.1377 | - | - | 288 B | 1.64 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 16 | 15.409 ns | 0.1344 ns | 0.1257 ns | 15.431 ns | 1.00 | 0.00 | 0.0880 | - | - | 184 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 16 | 41.598 ns | 0.2278 ns | 0.2131 ns | 41.518 ns | 2.70 | 0.02 | 0.1377 | - | - | 288 B | 1.57 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 17 | 15.782 ns | 0.0886 ns | 0.0829 ns | 15.752 ns | 1.00 | 0.00 | 0.0918 | - | - | 192 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 17 | 45.721 ns | 0.5330 ns | 0.4725 ns | 45.526 ns | 2.90 | 0.04 | 0.1989 | - | - | 416 B | 2.17 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 18 | 15.960 ns | 0.0190 ns | 0.0159 ns | 15.964 ns | 1.00 | 0.00 | 0.0956 | - | - | 200 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 18 | 45.274 ns | 0.3455 ns | 0.2885 ns | 45.359 ns | 2.84 | 0.02 | 0.1989 | - | - | 416 B | 2.08 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 19 | 16.328 ns | 0.0490 ns | 0.0383 ns | 16.316 ns | 1.00 | 0.00 | 0.0995 | - | - | 208 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 19 | 45.652 ns | 0.4276 ns | 0.4000 ns | 45.762 ns | 2.79 | 0.03 | 0.1989 | - | - | 416 B | 2.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 20 | 16.567 ns | 0.0339 ns | 0.0301 ns | 16.574 ns | 1.00 | 0.00 | 0.1033 | - | - | 216 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 20 | 45.206 ns | 0.1831 ns | 0.1430 ns | 45.227 ns | 2.73 | 0.01 | 0.1989 | - | - | 416 B | 1.93 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 30 | 19.089 ns | 0.0227 ns | 0.0189 ns | 19.087 ns | 1.00 | 0.00 | 0.1415 | - | - | 296 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 30 | 45.308 ns | 0.5415 ns | 0.5065 ns | 45.488 ns | 2.38 | 0.03 | 0.1989 | - | - | 416 B | 1.41 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 32 | 19.727 ns | 0.0766 ns | 0.0716 ns | 19.704 ns | 1.00 | 0.00 | 0.1492 | - | - | 312 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 32 | 45.289 ns | 0.2714 ns | 0.2406 ns | 45.240 ns | 2.30 | 0.02 | 0.1989 | - | - | 416 B | 1.33 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 40 | 21.831 ns | 0.0807 ns | 0.0755 ns | 21.851 ns | 1.00 | 0.00 | 0.1798 | - | - | 376 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 40 | 53.806 ns | 0.4499 ns | 0.4209 ns | 53.680 ns | 2.46 | 0.03 | 0.3213 | - | - | 672 B | 1.79 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 50 | 24.678 ns | 0.0316 ns | 0.0280 ns | 24.682 ns | 1.00 | 0.00 | 0.2180 | - | - | 456 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 50 | 54.522 ns | 0.4696 ns | 0.4163 ns | 54.359 ns | 2.21 | 0.02 | 0.3213 | - | - | 672 B | 1.47 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 60 | 27.373 ns | 0.0956 ns | 0.0798 ns | 27.367 ns | 1.00 | 0.00 | 0.2563 | - | - | 536 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 60 | 53.545 ns | 0.3504 ns | 0.3106 ns | 53.457 ns | 1.96 | 0.01 | 0.3213 | - | - | 672 B | 1.25 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 80 | 31.859 ns | 0.1505 ns | 0.1408 ns | 31.872 ns | 1.00 | 0.00 | 0.3328 | - | - | 696 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 80 | 112.256 ns | 0.3356 ns | 0.3139 ns | 112.137 ns | 3.52 | 0.02 | 0.5814 | - | - | 1216 B | 1.75 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 90 | 33.871 ns | 0.3202 ns | 0.2995 ns | 33.842 ns | 1.00 | 0.00 | 0.3710 | - | - | 776 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 90 | 110.938 ns | 1.0926 ns | 1.0221 ns | 110.847 ns | 3.28 | 0.04 | 0.5814 | - | - | 1216 B | 1.57 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 100 | 36.090 ns | 0.1067 ns | 0.0891 ns | 36.112 ns | 1.00 | 0.00 | 0.4093 | - | - | 856 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 100 | 111.354 ns | 0.4336 ns | 0.4055 ns | 111.417 ns | 3.08 | 0.01 | 0.5814 | - | - | 1216 B | 1.42 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 128 | 43.377 ns | 0.1567 ns | 0.1465 ns | 43.379 ns | 1.00 | 0.00 | 0.5162 | - | - | 1080 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 128 | 111.069 ns | 0.7950 ns | 0.7437 ns | 111.071 ns | 2.56 | 0.02 | 0.5814 | - | - | 1216 B | 1.13 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 256 | 72.240 ns | 0.2985 ns | 0.2792 ns | 72.180 ns | 1.00 | 0.00 | 1.0060 | - | - | 2104 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 256 | 144.883 ns | 0.5460 ns | 0.5107 ns | 144.850 ns | 2.01 | 0.01 | 1.0705 | - | - | 2240 B | 1.06 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 512 | 133.663 ns | 1.1401 ns | 1.0664 ns | 133.339 ns | 1.00 | 0.00 | 1.9841 | - | - | 4152 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 512 | 214.455 ns | 1.0625 ns | 0.9939 ns | 214.423 ns | 1.60 | 0.02 | 2.0490 | - | - | 4288 B | 1.03 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 1024 | 271.220 ns | 1.4314 ns | 1.3389 ns | 271.254 ns | 1.00 | 0.00 | 3.9368 | - | - | 8248 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 1024 | 337.388 ns | 1.6772 ns | 1.4868 ns | 337.105 ns | 1.24 | 0.01 | 4.0159 | - | - | 8384 B | 1.02 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 2048 | 457.544 ns | 0.3572 ns | 0.2788 ns | 457.630 ns | 1.00 | 0.00 | 7.8125 | - | - | 16440 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 2048 | 539.824 ns | 2.3866 ns | 2.2325 ns | 540.361 ns | 1.18 | 0.01 | 7.8735 | - | - | 16576 B | 1.01 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 4096 | 858.628 ns | 2.8200 ns | 2.4999 ns | 857.770 ns | 1.00 | 0.00 | 15.6240 | - | - | 32824 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 4096 | 964.143 ns | 3.2043 ns | 2.9973 ns | 964.491 ns | 1.12 | 0.00 | 15.6250 | - | - | 32960 B | 1.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 8192 | 1,612.550 ns | 6.4441 ns | 5.3811 ns | 1,613.381 ns | 1.00 | 0.00 | 31.2481 | - | - | 65592 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 8192 | 1,759.930 ns | 10.0422 ns | 9.3935 ns | 1,757.778 ns | 1.09 | 0.01 | 31.2481 | - | - | 65728 B | 1.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 16384 | 5,230.334 ns | 43.1174 ns | 38.2225 ns | 5,215.112 ns | 1.00 | 0.00 | 41.6641 | 41.6641 | 41.6641 | 131142 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 16384 | 3,879.033 ns | 21.0243 ns | 19.6661 ns | 3,880.849 ns | 0.74 | 0.01 | 62.4924 | - | - | 131488 B | 1.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 32768 | 8,719.834 ns | 59.9531 ns | 53.1469 ns | 8,714.705 ns | 1.00 | 0.00 | 83.3282 | 83.3282 | 83.3282 | 262228 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 32768 | 21,848.574 ns | 122.1391 ns | 95.3582 ns | 21,881.097 ns | 2.51 | 0.02 | 83.3130 | 27.7710 | - | 262560 B | 1.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 65536 | 54,057.300 ns | 1,094.8855 ns | 3,211.1097 ns | 53,514.853 ns | 1.00 | 0.00 | 32.1045 | 31.8604 | 31.8604 | 524506 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 65536 | 48,348.594 ns | 772.9717 ns | 685.2193 ns | 48,682.446 ns | 0.87 | 0.06 | 149.9634 | 49.9878 | - | 524704 B | 1.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 131072 | 108,309.284 ns | 2,129.4968 ns | 3,498.8243 ns | 107,566.205 ns | 1.00 | 0.00 | 22.8271 | 22.7051 | 22.7051 | 1048727 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 131072 | 116,076.642 ns | 2,245.4618 ns | 3,073.6135 ns | 115,323.883 ns | 1.07 | 0.05 | 173.3398 | 171.8750 | 171.8750 | 1050033 B | 1.00 |
|
||||
| | | | | | | | | | | | | | | | |
|
||||
| Baseline | Create_WithCapacity | List | RecyclableLongList | 850000 | 736,507.907 ns | 32,669.6099 ns | 92,145.2145 ns | 692,509.082 ns | 1.00 | 0.00 | 97.6563 | 97.6563 | 97.6563 | 6800102 B | 1.00 |
|
||||
| Actual | Create_WithCapacity | List | RecyclableLongList | 850000 | 1,394,790.658 ns | 37,116.6816 ns | 109,439.3732 ns | 1,407,471.777 ns | 1.92 | 0.27 | 136.7188 | 136.7188 | 136.7188 | 7340802 B | 1.08 |
|
||||
</details>
|
||||
|
||||
# `foreach` Benchmarks
|
||||
## Environment
|
||||
|
||||
```csharp
|
||||
|
||||
Reference in new issue
Block a user