Performance Profiling
In Chapter 18, Performance and the Salesforce Governor Limits, we discussed performance at a high level and how it relates to Salesforce governor limits. We also spoke about how we should begin to think about performance with respect to this model.
In this chapter, we are going to start looking at how we actually go about working on improving the performance of our applications through profiling. We are going to focus on Apex, as this is the core topic of the book, but we will also discuss how we can begin to profile both Visualforce and Lightning Web Components (LWC) performance as well, to illustrate how the entire life cycle of user interaction needs to be considered.
In this chapter, we will cover the following topics:
- The need for performance profiling and measurement
- The Observe, Orient, Decide, Act (OODA) methodology and how it will allow us to have a framework for success
- Big O notation and magnitude analysis
- Profiling Apex performance...