Stats Panel

The Stats panel displays real-time performance metrics for the editor.

Metrics

MetricDescription
FPSFrames per second, calculated as 1.0 / deltaTime
Frame TimeTime per frame in milliseconds (deltaTime × 1000)
Frame GraphRolling line graph of the last 120 frames (Y-axis: 0–33.3 ms)
Entity CountTotal number of entities in the current scene

Frame Graph

The frame graph uses a 120-frame circular buffer to display frame time history. The Y-axis caps at 33.3 ms (≈30 FPS), making it easy to spot frame spikes. The graph updates every frame and wraps around when the buffer is full.