presidenten Posted September 22, 2015 Share Posted September 22, 2015 Hey guys! I have had poor performance on older devices and cant reach beyond 30fps. I added Phaser-debug to my project to get some insight on where I need to start optimizing, but Im not sure I understand the numbers. Except for these numbers, everything was zero. preUpdate4ms - stage postUpdate1ms - stage5ms - plugins render4ms - renderer Even though thses numbers only add up to 14ms, the total displayed is 30-40ms of calculations. (I have no idea where the rest are displayed. Oh well.Except for the debug plugin, Im not using any plugins. What does stage mean? Where should I look to cut the display time based on these numbers? Link to comment Share on other sites More sharing options...
Skeptron Posted September 23, 2015 Share Posted September 23, 2015 What is your game mode? Canvas or WebGL? I suspect you have high idle times, which might not be displayed by the debug tool. Maybe you can use Chrome features for debugging? http://www.html5rocks.com/en/tutorials/canvas/inspection/ Can you force Canvas and see if you still have jittering? Link to comment Share on other sites More sharing options...
presidenten Posted September 23, 2015 Author Share Posted September 23, 2015 Im using Canvas. What would it mean to have high idle times? How would I see this in the chrome inspector? Link to comment Share on other sites More sharing options...
Recommended Posts