Wondering if this is a bug or if I'm being stupid about something. I was running some performance tests for a memory paging technique I'm hoping to use, and I noticed when I switch away from the window and then activate the window again it doesn't go back to 60 FPS after going down to 30.
If I call the map command less times or comment it out entirely it does go back up to 60, but if it's a performance issue then why would the cart start at 60 FPS so long as it stays focussed? Wouldn't it start at 30 too? I even tried doing an HTML export and that has the same issue when switching tabs back and forth.
Eniko, I tested it only Online in Lexaloffle. Let me try in the IDE itself.
Ah, there it is. It went down to 30. Looked up STAT(7) you are using, that shows framerate.
Ok, try this. Write your own framerate generator. See if it matches STAT(7).
Also, try STAT(7) in other games by other people - see if it drops to 30 as well.
This seems more like a bug in stat(7) to me.
Printing out stat(1) shows that the cpu usage is about 1.7x over budget for a frame at 60fps, so stat(7) should really be returning 30 here.
[Please log in to post a comment]