gotad
Member
Hey guys
I've been having a good deal of trouble in optimizing my game's browser performance as much as possible.
Since I've starting running profilers and/or browser (Chrome) performance monitors, however, I've noticed that the game will sometimes run at a consistent 60 FPS (target game speed),
or for seemingly no reason, an oscillation between 30 and 60 FPS or less.
I've tried recreating game states where I see one of these two degrees of performance, made sure to close other applications/tabs, tried other browsers, etc. all with the same apparently random
inconsistencies. Sometimes it will be stable, sometimes it won't, ostensibly regardless of game state or anything.
Does the poor performance, when it does occur, have to do with the default sleep margins?
I've also noticed that the game's performance is tied to my monitor refresh rates, where 60 hz will encounter the above issue while 120 hz will remedy it all together. I assume this is relevant.
Here is the browser version of my game (as of a month or two ago) if you want to see for yourself:
It's a bullet-hell esque game with lots of enemies, so I'm aware that getting things to run consistently smoothly on browser might be a pipe dream for most users. I just want to make sure with you guys!
Thanks!
I've been having a good deal of trouble in optimizing my game's browser performance as much as possible.
Since I've starting running profilers and/or browser (Chrome) performance monitors, however, I've noticed that the game will sometimes run at a consistent 60 FPS (target game speed),
or for seemingly no reason, an oscillation between 30 and 60 FPS or less.
I've tried recreating game states where I see one of these two degrees of performance, made sure to close other applications/tabs, tried other browsers, etc. all with the same apparently random
inconsistencies. Sometimes it will be stable, sometimes it won't, ostensibly regardless of game state or anything.
Does the poor performance, when it does occur, have to do with the default sleep margins?
I've also noticed that the game's performance is tied to my monitor refresh rates, where 60 hz will encounter the above issue while 120 hz will remedy it all together. I assume this is relevant.
Here is the browser version of my game (as of a month or two ago) if you want to see for yourself:
Thanks!
Last edited: