performance_budget_test
Test if the scene meets performance budgets. Checks FPS, frame time, memory usage, draw calls against configurable thresholds. Returns PASS/FAIL for CI-style quality gates.
Category: Test
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
action |
string | "test" |
Action: test (run budget test), configure (set thresholds), show_config (show current config) One of: test, configure, show_config |
|
sample_frames |
integer | 60 |
Number of frames to sample for averaging (default: 60) | |
budgets |
object | Performance budgets (for test/configure action) |
Example call
Section titled “Example call”The arguments below are the required ones; add the optional ones you need.
{ "name": "performance_budget_test", "arguments": {}}In SuperSave mode
Section titled “In SuperSave mode”When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "performance_budget_test", "args": { … }}. See SuperSave mode.
Source
Section titled “Source”Generated from Assets/NanoraUnityMCP/Editor/Tools/Testing/PerformanceBudgetTestTool.cs (version 1.2.1). The client receives the same schema from tools/list.