• Advertisement
Sign in to follow this  
  • entries
    62
  • comments
    59
  • views
    25232

No no, I'm awesome.

Sign in to follow this  

282 views

So I'm wondering why Tuss Toss fps drops by about ten frames when there's around 100 or so particles on screen. I found it quite perplexing, so I decide to add some profiling code to find out the problem. Lo and behold I discover this wonderous line of code that I must have put in my infinite wisdom of a late night coding session:


// Stall for timing.
System.Threading.Thread.Sleep(30);



Yep, way to test how long it took you to render the whole frame, dumbass. WTF you can't get 300fps in debug mode?!

Seriously though, I'm awesome.
Sign in to follow this  


1 Comment


Recommended Comments

Oh, don't worry, that's genious compared to me. I've done the exact same, cept with a sleep of 500. Top THAT :)

Share this comment


Link to comment

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

  • Advertisement