perf_monitor
Identify performance issues in Three.js scenes by recording FPS and frame times for a set duration, returning averages, percentiles, spikes, and jank.
Instructions
[INSPECT] Read-only. Record FPS and frame times for N seconds: avg/min/max, percentiles, spikes, jank.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "perf_monitor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Seconds (default: 3, max: 30) | |
| includeFrameTimes | No | Include raw frame times (default: false) |