The OGS web app has some inefficient code causing tons of seemingly unnecessary browser frames, resulting in really high CPU usage. It sustains ~30-40% CPU usage while the game is just sitting there idle, with nothing happening except the clock ticking.
Are the devs aware of this? I’ve worked on high perf web apps and this seems like a mistake that could probably be fixed without too much trouble.
Yeah if it’s idling high on the game page I suspect we’re overdrawing when the clock updates, and/or when some of the nav items update. Getting to the bottom of that would likely be a really good improvement for a lot of folks.
The issue is related to the notifications menu in the top right corner; the browser Paint event which happens at 60fps points to that as the root, and opening & closing it to dismiss my unread notifications resolves the CPU issue.
I’ve forked the code and will see if I can reproduce it locally to debug further.