Skip to content

defold/build-size

Repository files navigation

Buils Status

Defold engine and application bundle size plot

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.

Bundle size

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

Bundle size per platform and version

Engine size

This is the size of a release version of the Defold engine executable/library:

Engine size per platform and version

Editor size

This is the size of the release versions of the Defold editor (including bob.jar):

Editor size per platform and version

Bob size

This is the size of a release version of the our command line build interface (bob.jar):

bob.jar size per platform and version

Deprecated graphs

Graph of versions stripped of debug symbols:

Size per platform and version

History of versions:

History of size per platform and version

NOTE: In both of the deprecated graphs above the measurements show the size of the .apk file for Android and for all other platforms the size of the engine itself.

Requirements

If you wish to run this script locally you need to have the following things installed:

  • Python 3 (developed with 3.10.5)
  • Java 11.0.*
  • matlibplot (Install with python3 -m pip install matplotlib)

Usage

Run check_size.py:

python3 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 releases.json. The sha1 of the version you wish to add can be seen at d.defold.com.

The project will automatically generate new graphs and report files when a file in the project is changed.

About

Graph showing the Defold engine and editor sizes for all supported platforms

Topics

Resources

Stars

Watchers

Forks

Languages