Performance

Salesforce Scale Center is now in GA

#1MinuteTip Salesforce announces the General Availability of Scale Center – a product that provides self-service and near real-time access to performance metrics. Scale Center is available to all “Unlimited Edition” customers.

With Scale Center you can:

📈 View real-time performance metrics
🔍 Detect and diagnose performance hotspots
🤔 Compare performance over different time periods

Salesforce Scale Center
Image Source: Tweet by Salesforce Developers

References & Useful URLs

#SalesforceSpring23 – Faster Account Sharing Rules Recalculation

#1MinuteTip #SalesforceSpring23 Salesforce provides implicit sharing between a parent account and its child objects (cases, contacts, and opportunities) and creates implicit child share records on these objects.

Product Area: Customization -> Sharing

Implicit sharing between a parent account and its child objects.

With Spring ’23 release it is changing the way that automatic sharing calculation works behind the scenes for case and contact objects. Salesforce will no longer store child implicit share records between accounts and their child case and contact records. Instead, the system dynamically determines whether users can access child case and contact records when they try to access them. Not storing the child implicit share records speeds up ownership and sharing rule recalculation for accounts.

Here is an illustration on the number of “Share” records that will be created before Spring ’23 release (highlighted in red) and the number of share records that will be created after Spring ’23 release (highlighted in yellow)

Implicit Share Records between account and their child case and contact
Image source: YouTube Video (link below)

To enable this feature, please contact Salesforce Customer Support.

References & Useful URLs

Want to Receive these Tips in your Inbox?

Finding it overwhelming to keep pace with Salesforce’s new release features? Try our “1 Day 1 Tip 1 Minute” emails, where you are going to get 1 tip every day that won’t take more than a minute to read. To find out more and subscribe please click here.

How to Measure the Performance of Salesforce Org

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. 

Measure the Performance of Salesforce

EPT can be measured in 4 ways

  1. Add an EPT Counter to the header of your App
  2. Use the Lightning Usage App to view page and browser performance
  3. Build a custom report using Lightning Usage App objects
  4. Use the Event Monitoring Analytics App to monitor performance with event types

Further, EPT Counter in Salesforce can be added

  1. By enabling Lightning Components debug mode in setup
  2. 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 

navigate to any app or record page

Append ?eptVisible=1 to the URL -> Hit ‘Enter’

add string ?eptVisible=1 to url

Notice EPT Counter is visible besides favorites icon

ept counter is visible

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.  

Dos
  • 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
Don’ts
  • 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

remove ept counter

Voila! The counter is disappeared. 

ept counter removed

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

Salesforce Performance Test

Optimizing Lightning Experience Performance

In today’s fast paced world, everybody expects instant service. Whether it’s express delivery, express check-in or 4G internet speed for faster browsing experience. Some of you may have even tested your Internet Service Provider’s (ISP) speed on popular speedtest websites to verify the download and upload speed you are getting. Similarly even Salesforce has a tool called “Salesforce Performance Test” to test the speed

Salesforce Performance Test    

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”.   

Remove the text after force.com in URL

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”.

enter speedtest.jsp after force.com

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

Click Test Speed

Once Test is finished, results will be displayed.

Salesforce Performance Test results show octane score, upload & download speed etc.

A latency of 150ms or lower & download speed of 3Mbps or higher is considered as 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 as mentioned earlier then follow the steps in 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

References & Useful URLs

Scroll to Top
Introducing All Access Pass