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.
分類: テスト
| 名前 | 型 | 必須 | 既定値 | 説明 |
|---|---|---|---|---|
action |
string | "test" |
Action: test (run budget test), configure (set thresholds), show_config (show current config) 値: 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) |
呼び出しの例
Section titled “呼び出しの例”必須の引数だけを入れています。ほかは必要に応じて足してください。
{ "name": "performance_budget_test", "arguments": {}}SuperSave モードでは
Section titled “SuperSave モードでは”Unity を NANORA_MCP_SUPERSAVE=1 で起動したときは、メタツール execute から {"tool": "performance_budget_test", "args": { … }} の形で呼びます。SuperSave モードを参照。
Assets/NanoraUnityMCP/Editor/Tools/Testing/PerformanceBudgetTestTool.cs(版 1.2.1)から生成しています。説明文はツール定義のまま(英語)です。AI クライアントは tools/list で同じスキーマを受け取ります。