I’m targeting mobile (Android) and I’m profiling our game to identify areas for optimisation.
I’m profiling using the editor and desktop as they provide better profiling support (no GPU profiling on Android) and can see more profiling info in the editor.
Anyway, I’m trying to identify these spikes I’m getting.
GPU time is 79.97ms, CPU 29.72ms
But under GPU profiling I can only see 2.5ms of processing
Same frame but CPU view:
Like wise, I only see less than 1ms of processing (CPU).
There is the Gfx.WaitForPresent, and I get that this is VSYNC/redraw wait, bu 24.69ms ? That’s way more than 16ms to wait for a frame to complete…
Render metrics:
Note - scene is static, nothing changing between the frame with the spike vs others.
Any ideas?