Performance¶
Measured by Tests/Core/PerformanceTests.cs on .NET 8:
| Scenario | Target | Measured |
|---|---|---|
| Instant effect application | ≤ 1 µs, 0 B | 0.27 µs, 0 B |
| Duration effect apply + remove | ≤ 3 µs, 0 B | 1.4 µs, 0 B |
HasAll with 5 tags, parents included |
≤ 50 ns, 0 B | 31 ns, 0 B |
| 1000 actors × 20 periodic effects | ≤ 1 ms per frame, 0 B | 0.54 ms, 0 B |
| Ability activation with cost commit | ≤ 3 µs | 0.9 µs, 131 B |
| Ability awaiting 10 times | one allocation set per activation | 435 B, whatever the number of awaits |
Figures from the Unity Mono and IL2CPP backends will be published with the Unity integration.