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

Author Topic: Joystick (?) functions slowing down program  (Read 856 times)

0 Members and 1 Guest are viewing this topic.


  • Newbie
  • *
  • Posts: 27
    • View Profile
Joystick (?) functions slowing down program
« on: June 28, 2014, 06:47:02 pm »
My tile-based game was abnormally slow, so I decided to profile it a bit to see where the slowness comes from. I commented out everything in the render loop (only clear() and display() left), so just the event processing is in use... It only gets about 150 fps.
Here is the profiler information. Any idea what's up with the joystick functions?

I've commented out the event processing as well and it's still 150 fps. What gives?

edit 2:
alright mates i tested it on a more powerful computer and the performance is way better (5100 fps) so it looks like my laptop is just very bad.
« Last Edit: June 28, 2014, 07:21:15 pm by zakkor »

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Joystick (?) functions slowing down program
« Reply #1 on: June 28, 2014, 07:22:38 pm »
I'd say that 150fps should be more than enough for most things  ;)