I have a few Defold projects where the screen doesn’t change much—only when the user is actively giving input, or at certain time intervals. I’m wondering if there’s a way to save CPU usage during the 98% of the time when nothing visually changes and there is little to zero code running.
A release build with an empty collection and an empty render script still uses 5-9% of my desktop’s CPU.
That’s at the default 960x640 window size. If I set the window size down to 50x50 then the CPU usage goes to 1% and if I roughly double the area of the window, the CPU usage roughly doubles as well, so I’m assuming most of the CPU time is it clearing and redrawing (nothing) every frame. But that’s using a render script with no code in it at all, so I guess there’s no way for me to actually pause rendering?