Sign in to follow this  
Ptero

Best way to track performance?

Recommended Posts

I've been trying to use the Chrome timeline and CPU profiler but for the most part they just lead to the animate() function as the primary performance hog. Obviously everything in the game is rendered in the animate function so it doesn't help very much. What's the best way to monitor performance with PIXI.js? My game is starting to lag for some reason and I can't find out why, everything seemed to be fine before.

Share this post


Link to post
Share on other sites

The Chrome timeline and CPU profiler are the best tools. They are much more granular than "animate takes most of the time" I recommend reading some tutorials on how to interpret their output.

 

WebGL Inspector is also good for tracking down exactly what gl commands run and therefore performance issues.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.