Guides
Measured cost
Measured CPU and GPU cost of SkinMark on Mac and Windows for 1 to 20 characters with 1 to 64 marks, plus memory and network sizes.
Test setup#
UE 5.8, default settings, 1920 x 1080 (screen percentage 100), Epic's mannequin. GPU = ProfileGPU MeshDecal pass. CPU = game-thread SkinMark work per frame, average over 120
frames. Machines: Mac M5 32 GB (Metal) and Windows RTX 5060 Ti (DirectX 12).
CPU and GPU per frame#
| Characters x marks | Mesh | Mac CPU ms | Mac GPU ms | Windows CPU ms | Windows GPU ms |
|---|---|---|---|---|---|
| 1 x 1 | regular | 0.009 | 0.033 | 0.013 | 0.017 |
| 1 x 1 | Nanite | 0.01 | 0.032 | 0.015 | 0.016 |
| 1 x 16 | regular | 0.01 | 0.122 | 0.012 | 0.026 |
| 1 x 16 | Nanite | 0.01 | 0.279 | 0.015 | 0.026 |
| 1 x 64 | regular | 0.01 | 0.26 | 0.013 | 0.046 |
| 1 x 64 | Nanite | 0.012 | 0.272 | 0.018 | 0.046 |
| 20 x 1 | regular | 0.045 | 0.174 | 0.062 | 0.028 |
| 20 x 1 | Nanite | 0.05 | 0.217 | 0.072 | 0.033 |
| 20 x 16 | regular | 0.05 | 0.493 | 0.08 | 0.065 |
| 20 x 16 | Nanite | 0.054 | 0.562 | 0.085 | 0.087 |
| 20 x 64 | regular | 0.253 | 1.077 | 0.454 | 0.141 |
| 20 x 64 | Nanite | 0.303 | 1.223 | 0.356 | 0.196 |
Spawn budget and big waves#
The GPU cost is only the pixels the marks cover. Marks of 30 cm and up are built on worker threads. New marks are built
under a time budget (SkinMark.SpawnBudgetMs, 2 ms per frame for all characters), so in a big wave marks appear over
the next frames: in the 20-character explosion test (one explosion hit on each of 20 characters at once, 30 fps) the last
ones came 39-48 frames after the hit on the Mac and 117 on Windows. All SkinMark work then averaged 0.511 ms per frame on
Windows (8 frames over 2 ms, worst 2.813 ms) and 0.497 ms on the Mac (median of 3 runs; worst frame per run 2.609 / 4.694 / 16.312 ms: the high ones came while other apps loaded the Mac's CPU, because finished marks are swapped in on the game thread outside the spawn budget), over the 8.4 s after the hit.
Memory and data#
| Item | Measured |
|---|---|
| Extra data per mesh in a packaged game | 0 bytes |
| Plugin library content in the packaged container | 26.1 MB |
| Saved mark | about 0.21 KB (46 marks + 5 wound sites = 9,809 bytes) |
| Replicated mark, listen server | about 237 bytes (236.5 average, plain mesh); about 273 bytes with two morph weights |
| Replicated hit, dedicated server | 87 bytes of hit fields per hit |
The budgets that spread this work are on Console variables.