frokenstein Posted November 19, 2014 Share Posted November 19, 2014 I have a game that runs fast for several minutes then gradually gets more and more sluggish. I've tried profiling in Firebug but it just beachballs and renders the browser unusable. I feel like my only option is to throw in console.logs and see if I can hunt for what is getting out of hand. If anyone has any suggestions please let me know. Thanks Link to comment Share on other sites More sharing options...
lewster32 Posted November 19, 2014 Share Posted November 19, 2014 Try this: https://github.com/englercj/phaser-debug hellos3b 1 Link to comment Share on other sites More sharing options...
CtlAltDel Posted November 19, 2014 Share Posted November 19, 2014 try chrome profiler, it might be a bit more lenient. Link to comment Share on other sites More sharing options...
lewster32 Posted November 19, 2014 Share Posted November 19, 2014 The nice thing about the Phaser debug plug-in is it shows you where Phaser is taking its time, including important performance stuff like the state of the display list, draw calls etc. Link to comment Share on other sites More sharing options...
CtlAltDel Posted November 19, 2014 Share Posted November 19, 2014 A combination might be best Link to comment Share on other sites More sharing options...
frokenstein Posted November 19, 2014 Author Share Posted November 19, 2014 Cool, thanks. BTW That Isometric Plugin looks dope, Lewster. Gonna try it out once I have an idea worth trying it out on. lewster32 1 Link to comment Share on other sites More sharing options...
Recommended Posts