Alienhead Posted Wednesday at 05:08 PM Share Posted Wednesday at 05:08 PM I'm trying to pin point a bottleneck within a component I'm developing. Since graphics pass run on a separate thread from the logic - if I'm showing 190fps but my animations, movement and rotations are slowed and feeling like 30fps - would this lead me to think the bottleneck is from the logic side of things? Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Josh Posted Wednesday at 10:54 PM Share Posted Wednesday at 10:54 PM It could be game logic or physics. I would guess physics, since that is more likely to hit the limit first. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted Wednesday at 10:56 PM Share Posted Wednesday at 10:56 PM You can call world:RecordStats(true) to enable stats and then check the value of world.physicsstats.physicstime and see if it is taking more than 16 milliseconds. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. 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.