-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Performance Tests
ricardoquesada edited this page Dec 3, 2014
·
8 revisions
- Never run the tests on a Simulator and/or Emulator. Always use real devices
- The older the device the better
- Never run the tests in DEBUG mode. Always use RELEASE mode
- Double check that RELEASE mode is using all the possible optimizations for the C++ code
Devices are multitasking, and many tasks are run in the background and those tasks could affect the performance. In order to minimize that do:
- Turn Airplane mode ON
- Disable Wifi
- Disable Bluetooth
- Kill all running tasks / applications
- Performance Tests must be run before releasing an stable version
- The results must be logged in this spreadsheet
- In order to know the performance of the new release, a comparison must be done with the
previous versions. The comparison must try to use the same testing environment. As an example:
- Same devices (MUST)
- Same device operating system (SHOULD)
- Same compiler and toolchain (DESIRABLE)
Starting from Cocos2d-x v3.3, the "auto run" feature of Sprite Performance Tests logs in the console the output of the tests. This output can be copy & pasted into the spreadsheet