perf_audit
Analyze component performance metrics like DOM count, tree depth, and render time to identify bloated components before they ship.
Instructions
Analyze component performance: DOM element count, tree depth, render time, script/stylesheet count. Use this to catch bloated components before they ship.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Component code to audit | |
| framework | No | Framework | react |
| width | No | Viewport width (px) | |
| height | No | Viewport height (px) |