Loading

Proactive Alert Monitoring: Experienced Page Time (EPT) Alert

Publiceringsdatum: Sep 24, 2024
Beskrivning

In Lightning Experience, pages are loaded on your user’s device progressively, component by component. Because components can contain subcomponents, which sometimes load after the parent component, it’s not always simple to measure when a page has finished loading. We use a metric called “Experienced Page Time,” or EPT, to express the page load time that end users experience. It measures how long it takes for a page to load into a state that a user can meaningfully interact with.

EPT is measured as the time from the page start to when no more activity occurs for at least two frames (~33 ms). The two extra frames help to avoid false positives due to asynchronous calls. These calls include any XMLHttpRequests (XHRs) activity, any storage activity, or any user interaction or client-side work of any kind in the main JavaScript thread.

The Signature Success plan’s Proactive Monitoring product will monitor for, and alert you to, high EPT values seen in your org. This article outlines some scenarios to help you investigate should you receive an alert. In addition, on the Salesforce Help site Designated contacts and above can see your realtime metrics, alerts & more.
 

⚠️ This ProM alert is not available for the Gov cloud customers.

 

 

Causes:

Factors that can adversely affect EPT:

  1. Browser & Device Performance: Because the Lightning Experience pages load progressively on the client, it’s sensitive to the performance of your user’s browser and device.
  2. Network Latency: Lightning Experience requires many web exchanges to render a page, as data moves between server and client, so it’s sensitive to network latency.
  3. Complex Pages: More complex pages with many custom fields or components are slower to render.
Lösning

Here are some common practices & resources that may help to identify & resolve high EPT.
 

Use the Lightning Usage App to view Page and browser performance:

To measure EPT with the Lightning Usage App, select a tab in the Activity or Usage section on the left side of the page. You can view EPT by the browser used, or by page.
 

Custom Reports:

Build custom reports using Lightning Usage App objects.
 

Add an EPT counter to the header of your App:

To add an EPT counter to the header of your app, use Lightning Component Debug Mode, or append ?eptVisible=1 to your URL.  
 

Additional Resources: 

Help and Developer resources

Useful Trails

Knowledge-artikelnummer

000392614

 
Laddar
Salesforce Help | Article