Friday, February 18, 2011

Optimization...Round 1

So I started noticing a lot of framerate drops lately now that I've gotten a lot more stuff implemented so I decided to do some profiling and see where I was at. You know what I love(and hate) about optimization? The fact that the things that seem to be taking up the most time, are usually not the things you expect.

I have several things that I totally thought I'd have to revise, and it turns out most of the cpu time was spent just drawing my HUD! How can this be!?! Well with some digging and several "duh!" moments I've finally got a pretty solid 60 fps as the rest of my code was pretty optimized already apparently.


No comments:

Post a Comment