Skip to main content

Summarize, adapt, and compare Godot runtime telemetry, frame budgets, memory use, 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 frame p95 and memory max 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

compare includes frame_p95_delta_ms and memory_delta_mb in JSON reports, so CI jobs and dashboards can show the size of a runtime change without parsing the full baseline and current summaries.

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.4.tar.gz (14.0 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.4-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for godot_runtime_telemetry_lab-0.1.4.tar.gz
Algorithm Hash digest
SHA256 8715fc78521168f894bda7ce5c778c80d2db56c3ee5ac51ec106bdcad27d40c8
MD5 799c07f66a9a108b86a1bd3b88a65647
BLAKE2b-256 f17bb12daf001720fec254c22639494e7f6dd781738a9baebe050d59c59cb368

See more details on using hashes here.

Provenance

The following attestation bundles were made for godot_runtime_telemetry_lab-0.1.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for godot_runtime_telemetry_lab-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b224d57fe1869277b8f39b642f8c5bf5b045acb52321189720650f16ccbddd5b
MD5 335b61a6a9741169976d26bf65833b3a
BLAKE2b-256 8114d5100b7455696dd6ad9f299556d00a9c3aec763daf6a2e3657cc790997cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for godot_runtime_telemetry_lab-0.1.4-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