Skip to main content

Summarize, adapt, and compare Godot runtime telemetry, frame budgets, and scenario performance evidence.

Project description

Godot Runtime Telemetry Lab

godot-runtime-telemetry-lab summarizes and compares lightweight runtime telemetry from Godot scenario runs, smoke tests, soak tests, or project-owned debug exporters. It is designed for CI artifacts and release reviews, not as a replacement for Godot's built-in profiler.

Install

python -m pip install godot-runtime-telemetry-lab

From a source checkout:

python -m pip install -e .\godot-runtime-telemetry-lab

Quick Start

godot-telemetry-lab summarize reports\runtime --format markdown --output reports\runtime.md
godot-telemetry-lab compare reports\baseline reports\current --format json --output reports\runtime-compare.json
godot-telemetry-lab timeline reports\runtime --format html --output reports\runtime-timeline.html
godot-telemetry-lab adapt reports\godot-monitor.csv --format json --output reports\runtime-normalized.json
godot-telemetry-lab adapt godot-runtime-telemetry-lab\examples\tiny-godot-monitor\godot-performance-monitor.csv --format json --output reports\runtime-normalized.json
godot-telemetry-lab budget init --profile android-high --output reports\runtime-budget.json

Input Shape

The tool accepts .json or .csv files. JSON files can contain a list of samples, or an object with a samples, frames, or events list.

{
  "samples": [
    {"scenario": "menu", "frame_ms": 12.4, "physics_ms": 2.1, "memory_mb": 180},
    {"scenario": "menu", "frame_ms": 18.8, "physics_ms": 2.5, "memory_mb": 181}
  ]
}

Recognized numeric fields are frame_ms, physics_ms, memory_mb, nodes, and draw_calls. Timeline output also uses optional time_s, timestamp_s, frame, scenario, phase, and event fields when they are present.

Use adapt when a project-owned Godot exporter writes monitor names such as fps, Performance.MEMORY_STATIC, Performance.OBJECT_NODE_COUNT, or Performance.RENDER_TOTAL_DRAW_CALLS_IN_FRAME. The command emits normalized samples that can be fed back into summarize, compare, or timeline. For official Godot Performance monitors, adapt treats Performance.TIME_PROCESS and Performance.TIME_PHYSICS_PROCESS as seconds and converts them to milliseconds. Memory monitors such as Performance.MEMORY_STATIC, Performance.RENDER_VIDEO_MEM_USED, Performance.RENDER_TEXTURE_MEM_USED, and Performance.RENDER_BUFFER_MEM_USED are treated as bytes and converted to MiB.

Commands

  • summarize: reports sample counts, frame percentiles, and budget findings.
  • compare: compares current telemetry with a baseline and reports regressions.
  • timeline: renders a frame and memory timeline as HTML, SVG, Markdown, text, or JSON.
  • adapt: normalizes common Godot monitor and debug-exporter field names.
  • budget init: writes starter budget JSON for desktop-dev, android-high, android-low, or html5.

Budget files can be reused with summarize, compare, and timeline:

godot-telemetry-lab budget init --profile android-high --output reports\runtime-budget.json
godot-telemetry-lab timeline reports\runtime --budget-file reports\runtime-budget.json --format html --output reports\runtime-timeline.html

Outputs

  • text: local terminal report.
  • json: CI and scripts.
  • markdown: PR comments and release notes.
  • html: self-contained timeline report.
  • svg: embeddable timeline chart.

Example

The package includes a tiny runtime fixture:

godot-telemetry-lab timeline godot-runtime-telemetry-lab\examples\tiny-runtime-run --format html --output reports\runtime-timeline.html

It also includes a tiny Godot monitor CSV fixture:

godot-telemetry-lab adapt godot-runtime-telemetry-lab\examples\tiny-godot-monitor\godot-performance-monitor.csv --format json --output reports\runtime-normalized.json

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_runtime_telemetry_lab-0.1.3.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

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

godot_runtime_telemetry_lab-0.1.3-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file godot_runtime_telemetry_lab-0.1.3.tar.gz.

File metadata

File hashes

Hashes for godot_runtime_telemetry_lab-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c3a52d6c1b4b7660546a1f0f9c6583322c94c8474a41678979c8c9a14c57fd41
MD5 008a2e9614e43d94cb814d9a19f6ee40
BLAKE2b-256 bb763472ecf1d21c0cfa9f910acda9609b345dc7b47f0871e517c6a9edc7c82b

See more details on using hashes here.

Provenance

The following attestation bundles were made for godot_runtime_telemetry_lab-0.1.3.tar.gz:

Publisher: publish-runtime-telemetry-lab.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_runtime_telemetry_lab-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for godot_runtime_telemetry_lab-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a1040006bc5d19eae667c5c58de81d926d19603dd8e8ba7931f3130e81afec25
MD5 e6a4c756cce60dadde200623a3e0dad3
BLAKE2b-256 820e3ae8358198897a187b2e3022cab6ca72aef9672599ad87f29d0a266786ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for godot_runtime_telemetry_lab-0.1.3-py3-none-any.whl:

Publisher: publish-runtime-telemetry-lab.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