Strange Performance Issues
Posted: Sun Jul 03, 2011 10:45 pm
I've got some strange performance issues that I wanted to see if others were getting. Now this is running on a laptop video card, but one of the newer ones (Intel 4500MHD). On this computer I can play this...
http://riot-web-static.s3.amazonaws.com ... ens/19.JPG
(game called League of Legends)
...at around 25-30 fps. So it's not completely powerless.
Anyway, the following LOVE program runs at ~720 FPS on my computer:
So far so good, but if I add three more lines of text, like this:
The FPS drops to 200, a difference of about 520 FPS. This is with LOVE 0.7.2
Combined with some textures, this is making games with rather simple textures (all of which follow the Power-of-2 rule properly) plus some text, slow down to ridiculous levels. I've made sure the usual suspects are eliminated (trying to create fonts every update, etc.) so I'm starting to run out of optimizations. It really seems like this stuff shouldn't be such a problem.
Can anyone run the two above LOVE programs and see what kind of results they get?
http://riot-web-static.s3.amazonaws.com ... ens/19.JPG
(game called League of Legends)
...at around 25-30 fps. So it's not completely powerless.
Anyway, the following LOVE program runs at ~720 FPS on my computer:
Code: Select all
function love.draw()
love.graphics.print("FPS: " .. love.timer.getFPS(), 50, 20)
end
Code: Select all
function love.draw()
love.graphics.print("FPS: " .. love.timer.getFPS(), 50, 20)
love.graphics.print("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", 50, 80)
love.graphics.print("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", 50, 100)
love.graphics.print("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", 50, 120)
end
Combined with some textures, this is making games with rather simple textures (all of which follow the Power-of-2 rule properly) plus some text, slow down to ridiculous levels. I've made sure the usual suspects are eliminated (trying to create fonts every update, etc.) so I'm starting to run out of optimizations. It really seems like this stuff shouldn't be such a problem.
Can anyone run the two above LOVE programs and see what kind of results they get?