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/Hp5QJfBkedit:
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.