Skip to content

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

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)

The arguments below are the required ones; add the optional ones you need.

{
"name": "performance_budget_test",
"arguments": {}
}

When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "performance_budget_test", "args": { … }}. See SuperSave mode.

Generated from Assets/NanoraUnityMCP/Editor/Tools/Testing/PerformanceBudgetTestTool.cs (version 1.2.1). The client receives the same schema from tools/list.