Compare two recordings
perf_compareCompare two saved GPU performance recordings to see FPS, GPU ms, frame pacing, memory, and encoder workload changes, with flags for invalid comparisons and suggested next actions.
Instructions
Compares two saved recordings, a the reference and b the run after a change: headline numbers (FPS, GPU ms, frame
pacing, memory), then the GPU work: encoders and command buffers per frame, share of short encoders, idle time, and
each encoder label's change, largest first. layer says whether both ran on the same translation layer; measure
marks Windows against Metal (use FPS, lows, stutter, jitter); runs under 100 frames are flagged. screen,
noisy_environment flag runs that do not compare; suggested_actions says what to call next.
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": {
"a": "<a>",
"b": "<b>"
},
"name": "perf_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | run name from perf_runs: the reference, such as the run before a change | |
| b | Yes | run name from perf_runs: the run to compare against a | |
| 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 | |
| markdown | No | also return the numbers as Markdown tables, default false | |
| short_us | No | an encoder under this GPU time counts as short: 10, 25 (default), 50, 100, 250, 500 or 1000 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||