pranadevil Posted February 6, 2015 Share Posted February 6, 2015 hi buddies, i've experiencing some lagging when i played my game prototype using firefox mozilla, but in chrome is really smooth? any idea why? any tips to enhance performance in firefox? Link to comment Share on other sites More sharing options...
richpixel Posted February 6, 2015 Share Posted February 6, 2015 I see this problem quite a bit also.. recently I noticed firefox was taking up a lot of cpu - like 50, 60, 70% sometimes. This is the case regardless if I'm running any Phaser code. So I disabled some plugins, which so far seemed to help with the cpu usage. I haven't retried the Phaser games yet. pranadevil 1 Link to comment Share on other sites More sharing options...
pranadevil Posted February 6, 2015 Author Share Posted February 6, 2015 yeah u r right comparing the cpu usage in firefox vs chrome during gameplay, firefox goes up to 45-55 Link to comment Share on other sites More sharing options...
rantt Posted February 6, 2015 Share Posted February 6, 2015 Firefox developer edition comes with some nice dev tools to look at performance that can help you identify where your game might be having problems. I also like using the the Phaser Debug plugin (https://github.com/englercj/phaser-debug), which is pretty good for identifying problems while they're happening. Link to comment Share on other sites More sharing options...
Tom Atom Posted February 7, 2015 Share Posted February 7, 2015 I think there is problem in Firefox itself. Even the simpliest thing is running 40-44 FPS for me. While it runs 60 FPS in Chrome and IE (and iPad Safari too). pranadevil 1 Link to comment Share on other sites More sharing options...
MikeT Posted February 8, 2015 Share Posted February 8, 2015 I was having the same issue, but now my Firefox (v 35.0.1) runs my game ABOVE 60fps (around 62-65fps) while the same exact stuff going on in Chrome Canary (42.0) is ranging from 40 to 54 with very brief peaks to 64. The dips to 40 are brief as well. Firefox performance got a lot better when I started stripping out everything I could from the game's update function and thought of when I would really need to update certain things. That seemed to have boosted performance on Firefox in a huge way while leaving Chrome's performance relatively the same. edit: Wow, I take that back. I had my Chrome running on my secondary monitor which has a refresh rate of 60hz. I moved it to my main monitor which has a refresh rate of 144hz and FPS stays above 70 and keeps peaking in the late 120s and up to 134. Link to comment Share on other sites More sharing options...
John Posted February 9, 2015 Share Posted February 9, 2015 Tom's right. There was a bug open in Firefox for this for a long time... https://bugzilla.mozilla.org/show_bug.cgi?id=856900 They've closed it (incomplete) in October and asked people to open new bugs for specific demo code that runs slower in Firefox. Link to comment Share on other sites More sharing options...
Recommended Posts