Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Untolerably Slow Debug  (Read 1335 times)

0 Members and 1 Guest are viewing this topic.

Oracular

  • Newbie
  • *
  • Posts: 2
    • View Profile
Untolerably Slow Debug
« on: May 31, 2013, 11:49:28 pm »
The framerate on my debug is just absurdly low. I'm porting my XNA game to SFML. In XNA, I had framerates well over 300, and now everything is choppy and I cannot even debug the game on debug because it behaves totally different due to the speed. Why is this, and what can I do to avoid this issue?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Untolerably Slow Debug
« Reply #1 on: June 01, 2013, 09:13:11 am »
We don't know what's inside your code, and you don't know what is slowing it down. So we're already kind of stuck. You should really profile your application.
Laurent Gomila - SFML developer

novemberdobby

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • http://www.novemberdobby.co.uk
Re: Untolerably Slow Debug
« Reply #2 on: June 01, 2013, 12:41:33 pm »
Are you inadvertently copying large objects? When I ported my game from C#/XNA to C++/SFML, I had similar issues because I was unfamiliar with C++.