perf_check
Compares a recorded GPU run against a saved baseline to flag FPS, GPU time, encoder, or command-buffer regressions or improvements and returns full comparison details.
Instructions
Judges a recording against a reference saved with perf_baseline: regressed when FPS falls under the
reference's lowest FPS by more than margin_pct, GPU ms per frame rises over its highest by more than margin_pct,
or encoders or command buffers per frame exceed its highest; improved when a number leaves the range the other
way and none regressed; same otherwise. Frame pacing, short encoders and GPU idle time are reported by the
comparison but do not decide: they vary too much between equal runs. A run from Windows against a Metal
reference (or the reverse) is judged on FPS alone. A reference saved with skip_s judges the run without its first
skip_s seconds too (skipped_s says so). Returns the reasons and perf_compare's
full comparison against the reference's first run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | a run name from perf_runs | |
| baseline | Yes | a reference name from perf_baseline | |
| margin_pct | No | how far outside the reference's range FPS or GPU ms per frame may fall before counting, default 3 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||