Performance budget
spine_budgetMeasure Spine animation metrics per setup pose and frame, compare them against limits for pass/fail, and flag worst values with animation time; estimate draw calls using an atlas or pack.
Instructions
Spine Metrics over the setup pose and every frame: attachments, vertices, vertex transforms, triangles, area, clipping, draw call estimate, timelines, constraint costs; worst values with animation@time. limits for pass/fail; draw calls need atlas or pack (~4 s).
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": {
"input": "<input>"
},
"name": "spine_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| pack | No | Temporary atlas (projects) | |
| skin | No | ||
| atlas | No | ||
| input | Yes | .spine, .json or .skel(.bytes) | |
| limits | No | ||
| skeleton | No | Needed only with several skeletons |