SFML community forums

Help => Graphics => Topic started by: zakkor on June 28, 2014, 06:47:02 pm

Title: Joystick (?) functions slowing down program
Post by: zakkor 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?
http://pastebin.com/Hp5QJfBk

edit:
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.
Title: Re: Joystick (?) functions slowing down program
Post by: Jesper Juhl on June 28, 2014, 07:22:38 pm
I'd say that 150fps should be more than enough for most things  ;)