Check a run against budgets
perf_gateChecks a recorded run against performance budgets such as FPS floors, stutter rate, p95 GPU ms, hitches and peak Metal memory, then reports whether each limit held.
Instructions
Checks a recording against budgets and says pass or fail: FPS and 1% low floors, ceilings for stutter rate, p95 GPU
ms per frame, hitches and peak Metal MiB. Give at least one. A number the recording lacks fails its budget (value
null), and so does a run that stopped presenting (unpresented). Returns each budget with its limit, value and
whether it held.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"run": "<run>"
},
"name": "perf_gate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | a run name from perf_runs | |
| fields | No | result paths to keep, dotted: common.frame_pacing | |
| skip_s | No | seconds to leave out at the start (shaders compile, resources load), default 0; GPU numbers, hitches and Metal memory are recomputed without them | |
| fps_min | No | the FPS must be at least this | |
| hitches_max | No | the number of hitches at most this | |
| metal_mib_max | No | the peak Metal memory in MiB at most this | |
| gpu_ms_p95_max | No | the p95 GPU ms per frame at most this | |
| fps_1pct_low_min | No | the 1% low FPS must be at least this | |
| stutter_rate_pct_max | No | the share of stutter frames, in %, at most this |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||