simpleyuji Posted July 26, 2020 Share Posted July 26, 2020 I'm using Pixi 4.8.8. Some users have reported a low fps when playing my game, and when i asked for chrome profile report, I see something strange. It seems like some task is taking a long time to complete (red highlight shows 38ms or 27fps) despite the javascript taking much less than that. Here's the chrome profile json (https://drive.google.com/file/d/1azEZvpnMjU_vwP-eaF3b622FSo8LOYS2/view?usp=sharing) . Since its not like the timeline shows a long running javascript function, it's hard for me to figure out whats the causing the frames to take that long. Any idea on how what could be the cause? In comparison, when I record a chrome profile in my own browser for the same game, i get a consistent 60fps with no lag at all. And here's the chrome profile for that (https://drive.google.com/file/d/1goX_mVtQ9V6SjDkeqUmQFtqo-1n3GNLZ/view?usp=sharing) Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted July 26, 2020 Share Posted July 26, 2020 You have to look at webgl commands through https://spector.babylonjs.com/ . capture one frame, look inside, figure out why its too many. masks, filters, drawcall count, e.t.c. I can help with that Quote Link to comment Share on other sites More sharing options...
Mat Groves Posted July 27, 2020 Share Posted July 27, 2020 Low power mode throttles the FPS. could very well be that if perf seems fine generally! 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.