get_hottest_components
Identify React components with high self CPU time to optimize rendering, with total ms, average per render, and percentage of profile time. Pinpoint bottlenecks.
Instructions
Returns the top N React components ranked by self CPU time (excluding children) across the entire profiling session. Includes total self ms, average per render, and percentage of total profile time. Use to find which components are the most expensive to render, regardless of cause.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Number of components to return (default: 10) | |
| profile_path | Yes | Absolute path to the React DevTools Profiler export (.json) |