Apex Performance Profiling

Use when diagnosing where Apex transactions spend CPU, heap, SOQL, or DML time using the Salesforce diagnostic toolchain: Apex Log Analyzer flame graphs in VS Code, Developer Console execution timeline, SOQL Query Plan tool, and Limits-class checkpoint instrumentation. Triggers: 'why is my Apex slow', 'flame graph Apex', 'profile Apex transaction', 'Query Plan tool', 'Apex Log Analyzer'. NOT for fixing specific CPU or heap patterns after the hotspot is found (use apex-cpu-and-heap-optimization), NOT for debug log setup or trace flag mechanics (use debug-logs-and-developer-console), and NOT for SOQL query rewriting (use soql-query-optimization).

BanibrataChatterjee Updated

File contents

BanibrataChatterjee/AwesomeSalesforceSkills/tree/main/skills/apex/apex-performance-profiling commit 33fc4c4ab1

Frequently asked questions

npx skillmds@latest add banibratachatterjee/apex-performance-profiling