You can measure the performance of your Salesforce Org in Experience Page Time or EPT in short. EPT measures how long it takes for a page to load into a state that a user can meaningfully interact with.
EPT can be measured in 4 ways
- Add an EPT Counter to the header of your App
- Use the Lightning Usage App to view page and browser performance
- Build a custom report using Lightning Usage App objects
- Use the Event Monitoring Analytics App to monitor performance with event types
Further, EPT Counter in Salesforce can be added
- By enabling Lightning Components debug mode in setup
- By appending a string to your app or page url
In this blog post, we will look at how to enable it by appending a string to the URL
So, to add the counter, navigate to any record or app page in Salesforce
Append ?eptVisible=1 to the URL -> Hit ‘Enter’
Notice EPT Counter is visible besides favorites icon
Now navigate to different pages and check how much time the page takes to load. Note the times so that you can compare the difference after you have worked on improving the performance.
Here are some Dos and Don’ts when using EPT Counter in Salesforce. If you follow these then there are chances that you will get an accurate time in EPT counter.
- Disable Lightning Components Debug Mode
- Load the page 4-5 times and take the average time
- Close the current page or tab and navigate to same from different page or tab
- Test in different browsers
- Test in incognito and guest windows also
- Test across machines with same hardware and software configurations
- Clear the cache and measure load time
- Reload the page manually
- Hard reload the web page
- Open the page in a new tab
Once you are done working with the counter, don’t forget to remove it from the UI. It’s as facile as adding it. Just append url with ?eptVisible=0
Voila! The counter is disappeared.
Use EPT counter in Salesforce diligently to measure your app’s and pages performance in Lightning Experience and make necessary improvements from time to time.
References & Useful URLs
- What Is EPT? – Help Article (10 mins) – https://help.salesforce.com/articleView?id=technical_requirements_ept.htm&type=5
- Measure Performance for Your Salesforce Org – Help Article (10 mins) – https://help.salesforce.com/articleView?id=technical_requirements_measuring_ept.htm&type=5
4 thoughts on “How to Measure the Performance of Salesforce Org”
How to create custom report in Sandbox org
Not sure if I have understood your question correctly, Approva, but the steps to create report in Sandbox org are same as Production.
Great tip. Thanks!
My pleasure Gustavo 🙂