Friday, February 18, 2022

Improve performance and speed in Lightning Experience

 

Improve performance and speed in Lightning Experience:

 

Salesforce Performance Test:

1.   To access this tool, log-on to Salesforce org and remove everything after “[your domain name].lightning.force.com/” in the browser URL. Keep the forward slash after “force.com”



2.       Replace it with “speedtest.jsp”. So your new URL would look something like this “https://[your domain name].lightning.force.com/speedtest.jsp”. Click “Enter”.



3.       click “Test” Speed”



4.       Once Test is finished, results will be displayed.



5.       Requirements for the best Lightning performance

a.       For the fastest and most stable experience, Salesforce recommends:

                                                               i.      An Octane score of 30,000 or higher

                                                             ii.      Network latency of 150 ms or lower

                                                           iii.      A download speed of 13 Mbps or higher

                                                           iv.      At least 8 GB of RAM, with 3 GB available for Salesforce browser tabs

b.       Minimum requirements are:

                                                               i.      An Octane score of 20,000 or higher

                                                             ii.      Network latency of 200 ms or lower

                                                           iii.      A download speed of 1 Mbps or higher

                                                           iv.      At least 5 GB of RAM, with 2 GB available for Salesforce browser tabs

6.       Lightning page load times:

a.       There are two ways you can add a load time counter directly in the Lightning UI:.

                                                               i.      Lightning Component Debug Mode – This setting adds a counter in the top right corner of the Lightning UI that shows page load time and bandwidth. It’s important to note that with this setting enabled, component code is not minified, so overall performance may be impacted.

                                                             ii.      Adding ?eptVisible=1 to the Lightning URL – For example, https://<example>.lightning.force.com/one/one.app?eptVisible=1. Adding this string to your URL in the address bar adds a counter similar to the Lightning Component Debug Mode for showing the page load time, but it does not obfuscate component code, and so there is less of an impact on performance load time.

 

For more information:

Improve performance and speed in Lightning Experience (salesforce.com)

Lightning Components Performance Best Practices | Salesforce Developers Blog

 

 

No comments:

Post a Comment

Improve performance and speed in Lightning Experience

  Improve performance and speed in Lightning Experience:   Salesforce Performance Test: 1.     To access this tool, log-on to Salesfo...