Get Hotspots
get_hotspotsFind performance bottlenecks by retrieving the top N functions ranked by self-time CPU usage from a V8/Chrome profile.
Instructions
Returns the top N functions by self-time (CPU time spent directly in the function, not its callees). Use this to find performance bottlenecks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of hotspots to return (default: 10) | |
| profileId | Yes | Profile ID returned by load_profile |