This project will plot the size of the Defold engine (aka dmengine) as well as the size of a complete Defold game bundle for all supported platforms and versions.
The bundle size is measured as:
- Android - Size of .apk file containing one CPU architecture
- iOS - Size of .ipa file
- macOS - Size of .app file
- Windows - Size of zip archive with engine, required library files and game archive
- Linux - Size of zip archive with engine, required library files and game archive
- HTML5 - Size of zip archive with either .wasm or .asm.js engine, required library files and game archive
This is the size of a release version of the Defold engine executable/library:
Graph of versions stripped of debug symbols:
History of versions:
If you wish to run this script locally you need to have the following things installed:
- Python 2.7.10+
- Java 11.0.*
- matlibplot
Run check_size.py:
python check_size.py
It will generate these files:
To include a new version of dmengine in the report you need to add an entry in the releases list in check_size.py. The sha1 of the version you wish to add can be seen at d.defold.com.
The project will automatically generate a new graph and report file when a file in the project is changed. The automation is handled by a Travis-CI job.