Get Slow Components
get_slow_componentsIdentify the slowest components in a Next.js render profile to pinpoint performance bottlenecks. Sort by total, average, or max render time and filter out sub-millisecond noise.
Instructions
Return the slowest components in a loaded Next.js render profile, ranked by total actual render time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many components to return. Defaults to 10. | |
| sortBy | No | Sort metric: "total" = total render time (default), "average" = average per render, "max" = peak single render time. | |
| profileId | Yes | Profile ID from load_render_profile | |
| minSelfDuration | No | Minimum total self duration in ms to include — the same metric the default "total" sort ranks by, excluding time spent in children. Filters sub-millisecond noise. Defaults to 0. |