Skip to reading
Debugging and Performance Profiling

Compare two runs fairly

Edition 0.86.4.5

New 0.86.4.5 field guide. Complements the existing Error Handling & Debugging manual. Benchmark and regression figures are worked examples from the guide, not general performance guarantees. Native GDScript line debugging and engine-level profiling use Godot tools.

Download PDFView PDF page
On this page

PERFORMANCE / BASELINE COMPARISON

Pick one operation, change one condition, then ask whether the difference appears consistently. The result below is a worked example of reading the shipped benchmark.

1. Choose a repeatable action such as opening the same inventory in the same room. Match renderer, viewport, FPS cap, language and input order. Start from the same game state. Use the same warm-up and sampling window.

2. Run a Profile capture for version A. On Performance choose Remember baseline to keep the selected window’s summary for comparison, or stop and export the support ZIP. Repeat the workload in version B. Use Capture → Compare ZIP for a saved manifest’s frame summary.

Source table from Compare two runs fairly, page 8
Measured modeP50 (ms)P95 (ms)P99 (ms)Samples
0.86.4.4 HF26.9027.0487.263500
0.86.4.5 Off6.8977.0688.380500
0.86.4.5 Counters6.9047.0548.938500
0.86.4.5 Profile6.8997.0477.403500

These numbers come from an external benchmark harness in a headless Linux process. It made ten text-box border writes per frame, discarded the first ten frames of each launch and kept 100 per launch across five launches. That harness can measure the Off and Counters cases even though neither mode supplies a frame chart inside the hub.

Interpret the difference#

The median frame interval stayed close to 6.9 ms in all four conditions. The median time spent on a batch of ten writes was 0.908 ms with diagnostics off and 1.263 ms with Profile. Recording work has a cost, and a frame interval includes time outside those writes.

What to compare next#

If a hitch disappears headless, repeat it with your actual renderer and target hardware. Set the same camera view and resolution. Check the worst frame and misses as well as the typical frame.

Page 8 of 13Permalink
Go to page