FormularSumo / Galaxy-Collection

A remake of the discontinued Star Wars Force Collection game https://play.google.com/store/apps/details?id=com.formularsumo.starwarsforcecollectionremake.embed
https://formularsumo.github.io/Galaxy-Collection-Web/
GNU Affero General Public License v3.0
6 stars 0 forks source link

Create a benchmarking test #122

Open FormularSumo opened 2 weeks ago

FormularSumo commented 2 weeks ago

Benchmarking would be useful to check how it's performing on a device and as alongside #121 to help catch regressions. For example, a button in Settings to "run benchmark" which would do a test large-scale battle and measure average/5%/0.5%/min FPS through the battle. It would also be good to get accurate reproducible numbers for things like testing web for native performance, or just comparing devices.

Note: the benchmark battle would want a fixed randomness seed so it was always the same. Side note: this would be really useful anyway so a user could "save" and "load" battles and so reproducible them exactly eg for bug fixing.

FormularSumo commented 2 weeks ago

Profile.lua might be helpful for this.