designspin Posted May 15, 2021 Share Posted May 15, 2021 Hi, I Recently discovered Pixi JS and have to say, I am a big fan. For a first project with the framework I thought I would create something fairly simple and go for a breakout type clone. The whole thing works super smooth in Safari and Firefox on my iMac, but for some reason I get intermittent choppy frames when using Chrome. I thought Chrome was supposed to be the boss of web browsers, so it was a surprise to see this! I have started to look at the profiler ( attached recording ), but according to this my frame rate is good! Unless I am mis-reading something? From what I understand, this kind of effect could also be caused by GC, but I am not really sure how to get the info from this data. If anyone can throw me a line here it would be greatly appreciated. I suppose I could try deploying the project somewhere or sharing my git repo if need be? Many Thanks. Profile-20210515T160855.json.zip Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted May 15, 2021 Share Posted May 15, 2021 (edited) Do you have any strange extensions installed in chrome? also pixi is not a framework Edited May 15, 2021 by ivan.popelyshev Quote Link to comment Share on other sites More sharing options...
designspin Posted May 17, 2021 Author Share Posted May 17, 2021 Hi Ivan, Thanks for your reply, I did disable all my extensions and unfortunately it appears to of made no difference! As an experiment I thought I would try running my game through Capacitor Electron plugin, seems to work fine and I believed that uses Chromium. So this must be something going on with my machine I reckon! I'll test elsewhere later and come back here if I need assistance. Thanks. Quote Link to comment Share on other sites More sharing options...
designspin Posted May 19, 2021 Author Share Posted May 19, 2021 I managed to get a look at my game running on a PC using Chrome today, super smooth! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.