get_performance_hotspots
Identify top performance bottlenecks in Java applications by analyzing CPU, memory, JDBC, or HTTP subsystems. Drill down into hotspots to optimize code execution.
Instructions
Retrieve a sorted list of top performance hotspots. Returns a JSON object containing an array of hotspots with timing data and expansion ids. Use expand_performance_hotspot to drill down.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subsystem | Yes | The subsystem (as provided by check_status, for example cpu or jdbc) to analyze. | |
| wallTime | No | Optional, used for the cpu subsystem only: If true, time spent in all thread states will be used, otherwise only the runnable state is used. Defaults to false. | |
| packageFilter | No | Optional comma-separated package filter to focus on classes of interest. | |
| view | No | The view type: either 'hotspots' (the default) to focus on the methods/statements that most time is spent in or 'call_tree' to get a structural view of the time spent. |