BenchmarkDotNet v0.13.11, Ubuntu 24.04.4 LTS (Noble Numbat)
Intel Xeon Platinum 8370C CPU 2.80GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.201
[Host] : .NET 8.0.25 (8.0.2526.11203), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Job-YGJNSY : .NET 8.0.25 (8.0.2526.11203), X64 RyuJIT AVX-512F+CD+BW+DQ+VL+VBMI
Runtime=.NET 8.0 IterationCount=5 LaunchCount=1
WarmupCount=3
| Method | Count | Mean | Error | StdDev | Ratio | RatioSD | Rank | Gen0 | Allocated | Alloc Ratio |
| DirectCreate | 100 | 1.683 μs | 0.0165 μs | 0.0025 μs | 1.00 | 0.00 | 1 | 0.0114 | 328 B | 1.00 |
| CreateThenDestroyBurst | 100 | 32.645 μs | 0.6125 μs | 0.1591 μs | 19.38 | 0.09 | 3 | - | 1152 B | 3.51 |
| CreateWithComponentBurst | 100 | 5.983 μs | 0.1376 μs | 0.0213 μs | 3.56 | 0.01 | 2 | 0.0076 | 328 B | 1.00 |
| RecreateAfterDestroy | 100 | 33.291 μs | 0.6138 μs | 0.1594 μs | 19.76 | 0.07 | 4 | - | 1152 B | 3.51 |
| DirectCreate | 1000 | 10.060 μs | 0.0318 μs | 0.0049 μs | 1.00 | 0.00 | 1 | - | 328 B | 1.00 |
| CreateThenDestroyBurst | 1000 | 316.348 μs | 2.0518 μs | 0.5329 μs | 31.45 | 0.05 | 3 | - | 8352 B | 25.46 |
| CreateWithComponentBurst | 1000 | 49.080 μs | 0.7574 μs | 0.1172 μs | 4.88 | 0.01 | 2 | - | 328 B | 1.00 |
| RecreateAfterDestroy | 1000 | 325.053 μs | 2.1415 μs | 0.5561 μs | 32.32 | 0.05 | 4 | - | 8352 B | 25.46 |