simpleyuji

slow fps [Pixi 4.8.8]

Recommended Posts

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?

low_fps.thumb.png.882e42150343fe32fcb1ec0008fe6a23.png

 

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)

normal_fps.thumb.png.15673dfd716cb58e9fd290680a4e5a40.png

 

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.