Skip to main content

Static mobile performance diagnostics for Godot 4 projects.

Project description

Godot Mobile Perf Doctor

Static mobile performance diagnostics for Godot 4 projects, with optional parsing of captured adb summary text.

The first release deliberately starts with static checks so it works in CI without an Android device.

Use it before device testing to catch obvious mobile risks: desktop renderer settings, missing stretch configuration, oversized textures, and suspicious viewport settings.

Install

python -m pip install -e .

From PyPI:

python -m pip install godot-mobile-perf-doctor

Quick Start

godot-mobile-perf-doctor C:\Projects\MyGame --static
godot-mobile-perf-doctor . --profile portrait-2d --format json --output perf-report.json
godot-mobile-perf-doctor . --adb-summary adb-summary.txt --format markdown --output mobile-perf-report.md

Config File

Create .godot-mobile-perf-doctor.toml in the project root:

profile = "portrait-2d"
format = "markdown"
fail_on = "warning"
output = "reports/mobile-perf.md"
max_texture_dimension = 2048
max_viewport_pixels = 2073600

CLI flags override config values:

godot-mobile-perf-doctor . --static --max-viewport-pixels 921600 --format json

Real Workflow: Prepare An Android Test Build

Run a static mobile scan before sending a build to a phone:

godot-mobile-perf-doctor . --static --profile portrait-2d --fail-on warning --format markdown --output reports\mobile-perf.md

Use the report to check:

  • whether the renderer choice is suitable for mobile;
  • whether viewport and stretch settings are explicit;
  • which PNG textures carry the largest estimated RGBA memory cost;
  • whether a recent adb summary shows janky frames that need follow-up.

If you already captured a short device run, attach the summary:

godot-mobile-perf-doctor . --adb-summary reports\adb-summary.txt --format json --output reports\mobile-perf.json

What It Checks

  • Renderer setting and mobile risk.
  • Base viewport size.
  • Stretch mode presence.
  • PNG texture dimensions and estimated RGBA memory.
  • Optional adb summary text for device model and janky frame counts.

Documentation

CI Example

- run: python -m pip install godot-mobile-perf-doctor
- run: godot-mobile-perf-doctor . --static --profile portrait-2d --format markdown --output reports/mobile-perf.md

Development

python -m pip install -e .
python -m unittest discover -s tests -v
godot-mobile-perf-doctor examples\tiny-godot-project --static --fail-on none

Examples are generic and safe to publish.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

godot_mobile_perf_doctor-0.1.4.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

godot_mobile_perf_doctor-0.1.4-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file godot_mobile_perf_doctor-0.1.4.tar.gz.

File metadata

  • Download URL: godot_mobile_perf_doctor-0.1.4.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for godot_mobile_perf_doctor-0.1.4.tar.gz
Algorithm Hash digest
SHA256 cf6373d799e9adecd334a00f76fe4df72b73003df1b180deae3fa368b5b687e2
MD5 99c82b87b1f7a1cf6dd4e3ed7c118040
BLAKE2b-256 c732e5f11e9fdb2188265689525fa66311c95f57370c075777d284b9feaf2d87

See more details on using hashes here.

Provenance

The following attestation bundles were made for godot_mobile_perf_doctor-0.1.4.tar.gz:

Publisher: publish-mobile-perf-doctor.yml on NonniGB/godot-production-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file godot_mobile_perf_doctor-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for godot_mobile_perf_doctor-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b4b77ff7596040a8cd1df51bde7c24eb325803e4dce115906f34e629e569d095
MD5 e03b2c594897e92f78f0c8934f66e106
BLAKE2b-256 3d5e0eea716576c327505167180194e38942c87ddfc5f35d4c6646fbd5cc83cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for godot_mobile_perf_doctor-0.1.4-py3-none-any.whl:

Publisher: publish-mobile-perf-doctor.yml on NonniGB/godot-production-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page