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
Toolchain=InProcessEmitToolchain IterationCount=5 WarmupCount=3
| Method | EntityCount | Mean | Error | StdDev | Ratio | RatioSD | Gen0 | Gen1 | Gen2 | Allocated | Alloc Ratio | |——————————————— |———— |————:|———-:|———:|——:|——–:|———:|———:|———:|———-:|————:| | CreateSnapshot_RawDenseTripleComponent | 1000 | 74.89 μs | 2.485 μs | 0.385 μs | 1.00 | 0.00 | 43.4570 | 43.4570 | 43.4570 | 225802 B | 1.000 | | RestoreSnapshot_RawDenseTripleComponent | 1000 | 154.43 μs | 0.396 μs | 0.061 μs | 2.06 | 0.01 | - | - | - | 65 B | 0.000 | | RegisterOwningGroup_Rebuild_PositionVelocity | 1000 | 48.50 μs | 0.959 μs | 0.148 μs | 0.65 | 0.00 | - | - | - | 592 B | 0.003 | | DeferredRemoval_RemoveAndCommit_FullCycle | 1000 | 65.71 μs | 1.959 μs | 0.509 μs | 0.88 | 0.01 | 0.2441 | - | - | 8352 B | 0.037 | | SetQualifiedPosition_NoOwningGroup | 1000 | 20.09 μs | 0.036 μs | 0.006 μs | 0.27 | 0.00 | - | - | - | - | 0.000 | | SetQualifiedPosition_WithOwningGroup | 1000 | 33.65 μs | 0.105 μs | 0.027 μs | 0.45 | 0.00 | - | - | - | - | 0.000 | | | | | | | | | | | | | | | CreateSnapshot_RawDenseTripleComponent | 10000 | 516.68 μs | 37.762 μs | 5.844 μs | 1.00 | 0.00 | 335.9375 | 331.0547 | 331.0547 | 2231336 B | 1.000 | | RestoreSnapshot_RawDenseTripleComponent | 10000 | 1,531.81 μs | 1.959 μs | 0.303 μs | 2.97 | 0.03 | - | - | - | 68 B | 0.000 | | RegisterOwningGroup_Rebuild_PositionVelocity | 10000 | 516.63 μs | 1.994 μs | 0.309 μs | 1.00 | 0.01 | - | - | - | 593 B | 0.000 | | DeferredRemoval_RemoveAndCommit_FullCycle | 10000 | 672.41 μs | 2.779 μs | 0.722 μs | 1.30 | 0.01 | 2.9297 | - | - | 80353 B | 0.036 | | SetQualifiedPosition_NoOwningGroup | 10000 | 202.39 μs | 2.131 μs | 0.330 μs | 0.39 | 0.00 | - | - | - | - | 0.000 | | SetQualifiedPosition_WithOwningGroup | 10000 | 343.62 μs | 0.910 μs | 0.141 μs | 0.67 | 0.01 | - | - | - | 1 B | 0.000 |