chrismear / renios

Ren'iOS helps you package a Ren'Py game into an app that will run on iOS.
Other
35 stars 3 forks source link

Add a performance test #53

Open chrismear opened 11 years ago

chrismear commented 11 years ago

Performance is an issue, particularly with graphics-heavy games (e.g. UI can get unresponsive when big draws are happening).

As we move into the trying to optimise for performance, it would be good to have an automated test for game performance. Then we can benchmark whether changes are actually improving performance or not.

This will probably take the form of a Ren'Py game that automatically steps through a series of scenes, along with a test harness of some kind that can record time taken.

chrismear commented 11 years ago

Could this also act as an automated smoke test for the build system and packaging system? An actual functional test would be harder, since we'd have to verify rendered output and simulate inputs. But just verifying that the Ren'Py game played through without raising any exceptions seems like something we could test for more easily, and would still be a useful test of the whole system.