Measure Lightning Experience Performance and Experienced Page Time (EPT)

Lightning Experience Performance and Experienced Page Time 

Lightning Experience Performance: Lightning Experience is the modern, user-friendly interface provided by Salesforce. "Lightning Experience Performance" refers to the overall speed and responsiveness of the Lightning Experience interface. This includes how quickly pages load, how fast data is retrieved from the server, and how smoothly users can navigate through different features and functionalities within the interface.

Experienced Page Time: This metric specifically measures the time it takes for a user to interact with a page in the Lightning Experience interface. It includes the time it takes for the page to load initially, as well as any subsequent interactions the user performs on that page, such as clicking buttons, entering data into fields, or navigating to different sections of the page. Experienced Page Time provides a more detailed insight into the user's actual experience while using the interface, beyond just the initial page load time.

Salesforce offers four ways to measure EPT.

Lightning Experience: Add an EPT counter to Lightning Experience.

Lightning Usage App: View aggregated page and browser performance.

Custom Reports: Build custom reports using Lightning Usage App objects.

Event Monitoring: Use event types to monitor performance.

Add an EPT Counter to Lightning Experience

Adding eptVisible=1 will add the page load time counter to your Lightning Experience header, but won’t display the network bandwidth. Unlike enabling Lightning Component Debug Mode, the component code is minified and will have less impact on performance time.

When using Lightning in Salesforce, Experienced Page Time (EPT) is a performance metric that measures how long a page can load and be ready for user interaction.

To display the page load time/EPT counter on a page, simply add ?eptVisible=1 at the end of the URL. For example, https://domain.lightning.force.com/lightning/page/home?eptVisible=1.









Enabling Lightning Component Debug Mode

Enable Lightning Component Debug Mode adds a counter to the Lightning Experience header that shows page load time and network bandwidth.

Remember, performance may be impacted when enabling this setting because the component code won't be minified, and caching will be disabled.
















Use the Lightning Usage App to Measure EPT

The Lightning Usage App is a great way to track the adoption and usage of Lightning Experience. To open it, click the App Launcher and search for Lightning Usage.

Example

Slowest Desktop Record Pages, Most Viewed Pages, Single Page Performance and Slowest Desktop Record Pages


Lightning Usage App to see how browser performance affects EPT




























Build Custom Reports Using Lightning Usage App Objects

For more detailed analysis of your page's performance, you can use Lightning Usage App objects to create customized reports.


















Monitor Performance with Event Monitoring

Use the Lightning Page View event type to measure page performance in Event Monitoring. The Lightning Page View event type tracks information such as the page a user visited, the browser they used, how long the user spent on the page, and the load time for the page.

In the example below, you can see metrics for when a user accessed the page (“pageStartTime”), how long they spent on the page (“duration”), and the Experienced Page Time (“EPT”).

















References

Comments

Popular posts from this blog

Introduction to Salesforce Agent Script: Build Predictable AI Agents

Anti-Patterns in Salesforce Agentforce: What to Avoid When Building AI Agents

MCP vs. Traditional APIs: Choosing the Right Integration Approach