Salesforce Speed Performance Testing

Salesforce Speed Performance Testing

This Article explaining briefly how to measure the performance of salesforce and various reasons why salesforce performs slow.

Screen Shot 2019-10-19 at 7.27.45 PM.png

It is a simple, online tool to measure your browser Javascript speed and your internet connection speed to Salesforce’s servers. This tool can be used by anyone, Developers, Admins, or End Users. Based on the results, you can take necessary actions yourself or with the help of IT to improve your user’s experience of Lightning.

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

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

You will be redirected to the Salesforce Performance Test page. Now click “Test” Speed”.

Screen Shot 2019-10-19 at 7.21.13 PM.png

A latency of 150ms or lower & a download speed of 3Mbps or higher is considered good and recommended. Lightning Experience performance will be smooth in these conditions.

This looks interesting, isn’t it? So go ahead and check your stats. If you don’t get the recommended scores mentioned earlier, follow the steps in the Help article listed below to mitigate the problems. It may be arising because of one of the following issues:

  • Geographical
  • Device
  • Browser
  • Salesforce organization configuration issues

Geographical Issues

  • Accessing a host instance from a different geographical location (i.e., an org is hosted in North America, but a user accesses it from Asia).
  • ​Experiencing degraded Transmission Control Protocol (TCP) performance due to:
    • Latency issues between the client device and remotely-located web servers; or
    • Customer network topologies, such as virtual private networks that require routing traffic through a corporate office or data center before being re-routed to a customer’s org within the Salesforce environment.

Potential Mitigation Steps

Assess your network latency: Ask your company’s network admin or IT professionals to assess your network latency when connecting to your Salesforce environment. They can run utilities such as “ping” or “traceroute” to gather data and then determine ways to optimize network connection speed. You can also measure download and upload speeds to your Salesforce instance here: https://[instance].salesforce.com/speedtest.jsp.

Device and Browser-Related Issues

  • Using a laptop, desktop, or virtual desktop infrastructure that does not have adequate processing power or memory. Or multiple applications are competing for the device’s resources, such as CPU and memory.
  • Using web browsers with plug-ins or extensions that consume large amounts of CPU or memory.
  • Running too many browser tabs simultaneously. Each tab consumes memory and CPU cycles.

Potential Mitigation Steps

Assess browser processing capability: Measure the processing capability of browsers on client devices (laptops, desktops, workstations, or virtual desktops) using Octane: https://chromium.github.io/octane/. If an Octane score is less than 15,000 at minimum, Lightning Experience performance will likely be slow (20,000 at minimum if using Salesforce Console). A high-end client device typically has an Octane score greater than 32,000. The higher the Octane score, the better Lightning Experience performance will be. You can try the following steps to boost a client’s Octane score:

  • Ensure laptops are fully charged or connected to a power source. When a laptop runs with a low battery, it tends to run slower to save power.
  • Close other applications running on the client device, if possible.
  • Reset browser settings to original defaults, if possible.
  • Remove unused or unnecessary browser plugins and extensions.
  • Upgrade the client device to a model with more processing power and memory.

Thanks for reading..

Leave a Reply

Your email address will not be published. Required fields are marked *