Analyze Apex Log Performance
analyze_apex_log_performanceRank Apex debug log methods by execution time to pinpoint performance bottlenecks. Get duration, SOQL/DML counts, and optimization suggestions for each method.
Instructions
Rank methods in an Apex debug log by self-execution time. Returns method names, durations (in ms), SOQL/DML counts, and optimization recommendations. Best for finding which specific methods to optimize.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | Filter methods by namespace | |
| topMethods | No | Number of slowest methods to return (default: 10) | |
| logFilePath | Yes | Absolute path to the Apex debug log file (.log) | |
| minDuration | No | Minimum duration in milliseconds to include a method (default: 0) |