Performance issue upon first launch, improved upon second launch.
QuinnZoneStudios
Member Posts: 452
Hey all,
This is something I've noticed consistently all year when testing on actual devices. When I first load and test my game, especially on iPhone 3G, it's prone to stuttering and lag. When I quit the game and reopen it, it mostly performs as expected.
I don't recall reading about others having this issue. I know I ask a lot of my GS engine but even with optimizing and major trimming everywhere I still see this.
Is it possible that with leaner GS engine code this could be fixed later? I'm just not sure why it performs differently at different times when nothing has changed.
Any thoughts, advice or experience anyone has on this would be most welcome.
Thanks as always
Mike
This is something I've noticed consistently all year when testing on actual devices. When I first load and test my game, especially on iPhone 3G, it's prone to stuttering and lag. When I quit the game and reopen it, it mostly performs as expected.
I don't recall reading about others having this issue. I know I ask a lot of my GS engine but even with optimizing and major trimming everywhere I still see this.
Is it possible that with leaner GS engine code this could be fixed later? I'm just not sure why it performs differently at different times when nothing has changed.
Any thoughts, advice or experience anyone has on this would be most welcome.
Thanks as always
Mike
Comments
I was building a level that I had cut down to basics but noticed on the viewer was getting between 22-29 FPS. When I deleted just about everything it only rose to 24-32 FPS. This made me quite suspicious of what was going on, so I rebuilt the level in an entirely new file (new game) using all the same rules and assets and am now getting 57-81 FPS!
So does this mean there's legacy code/info hanging around corrupting or slowing down the file? Typically this would be a level I had done all my experimenting on over a few weeks with lots of deleting and rebuilding.
So my conclusion would be, when the coding and game play are all figured out, start the game anew using the original as reference.
Does this make sense to anyone? I'd love to hear thoughts.
Mike