Compare two captures
capture_diffCompares two .gputrace captures by confirmed Metal calls, reporting totals per call with deltas and the 100 debug groups with the largest change, without needing Xcode.
Instructions
Compares two .gputrace captures by their confirmed Metal calls: totals per call (a, b, delta) and the 100 debug groups with the largest change. Needs no Xcode.
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": "capture_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | the first .gputrace (usually the one before a change) | |
| b | Yes | the second .gputrace | |
| fields | No | result paths to keep, dotted: common.frame_pacing |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||