get_performance_monitors
Profile runtime performance with engine counters: sample FPS, frame time, memory, draw calls, and physics over a window to get min, average, p95, and max values.
Instructions
Profiling: read Performance monitors (fps, frame time, memory, object/node counts, draw calls, video mem, physics) — measured engine counters, never estimates. target=game (default with a play session) | editor. duration_s>0 samples over time and returns per-monitor {min, avg, p95, max}. Sampling rules and why an editor-target window is refused: help(tool="get_performance_monitors").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| series | No | include the raw per-sample series, capped at 300 samples (default false) | |
| target | No | game | editor | auto | |
| duration_s | No | sampling window in seconds (0 = single snapshot; max 30; game target only) | |
| interval_ms | No | sampling interval (default 100, min 30) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stats | No | ||
| series | No | ||
| target | Yes | ||
| samples | No | ||
| monitors | No | ||
| window_ms | No | ||
| interval_ms | No |