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 | EntityCount | Mean | Error | StdDev | Rank | Allocated |
| CountValidEntities | 100 | 104.5 ns | 0.10 ns | 0.02 ns | 1 | - |
| CountEntitiesWithHealth | 100 | 405.6 ns | 1.44 ns | 0.22 ns | 2 | - |
| SumHealthValues | 100 | 554.4 ns | 0.95 ns | 0.15 ns | 3 | - |
| HashEntityRefs | 100 | 845.7 ns | 0.87 ns | 0.13 ns | 4 | - |
| CountValidEntities | 1000 | 1,021.2 ns | 1.59 ns | 0.41 ns | 5 | - |
| CountEntitiesWithHealth | 1000 | 4,176.3 ns | 36.16 ns | 5.60 ns | 6 | - |
| SumHealthValues | 1000 | 5,604.7 ns | 20.69 ns | 3.20 ns | 7 | - |
| HashEntityRefs | 1000 | 8,790.6 ns | 14.11 ns | 3.66 ns | 8 | - |
| CountValidEntities | 10000 | 10,387.3 ns | 5.66 ns | 0.88 ns | 9 | - |
| CountEntitiesWithHealth | 10000 | 42,133.2 ns | 313.82 ns | 48.56 ns | 10 | - |
| SumHealthValues | 10000 | 55,648.1 ns | 101.37 ns | 26.33 ns | 11 | - |
| HashEntityRefs | 10000 | 88,081.0 ns | 98.14 ns | 15.19 ns | 12 | - |