Salesforce performance is slow: how to diagnose it correctly and solve it structurally
Salesforce performance is slow: how to diagnose it correctly and solve it structurally
When a sales representative has to wait several seconds for a page to load, they often give up or switch to another system. When approval processes slow down while creating a quote, this directly slows down the sales process.
In organizations where Salesforce is perceived as slow, the cause rarely lies with a single setting. It is usually a combination of technical factors such as automation, data model complexity, large data volumes, and integrations. Performance issues often arise gradually as a Salesforce environment grows and supports more processes.
Why Salesforce may become slower over time.
Salesforce does not usually slow down spontaneously. Performance problems usually arise because a transaction has to execute more and more logic or process more data.
Common causes include:
1. Outdated or overlapping configuration
2. Inefficiently designed automation
3. Data model issues or data skew
4. Large data volumes
5. Integrations and managed packages
6. Client or network factors
Often, it is not a single cause but a combination of factors that have built up over several years.
1. Outdated configuration and technical debt
In many Salesforce organizations, the configuration grows over the years. New functionality is added while older logic remains in place.
Examples include:
• Fields that are no longer used
• Old Process Builder processes or workflows that are still active
• Temporary validation rules that have become permanent
• Flows that functionally overlap
When a record is saved, Salesforce executes a fixed sequence of automation (order of execution). This may include validation rules, record-triggered flows, Apex triggers, and other automation. The more logic that is active, the greater the likelihood that transactions will take longer.
2. Automation that performs more work than necessary
Automation should speed up processes. However, when automation is applied too broadly, it can actually cause performance problems.
When saving a record, multiple processes can start simultaneously. When different flows, triggers, or rules execute the same logic or when they always run regardless of relevance, processing time increases.
Best practices include:
• Only execute logic when conditions apply
• Consolidate overlapping automation
• Migrating old Process Builder processes to more efficient flows
• Regularly review Apex code and flows for efficiency
3. Data model complexity and data skew
How data is modeled in Salesforce has a direct impact on performance.
When a parent record has a very large number of child records (for example, more than ten thousand), data skew can occur. This can lead to:
• Record locking
• Slow sharing recalculations
• Slower transactions during peak loads
A complex data model with many relationships and rollups can also increase the load on the platform. This is particularly noticeable with large reports, mass updates, or integrations.
4. Large Data Volumes
When objects contain millions of records, we refer to this as Large Data Volumes (LDV). In such environments, it is important that queries remain selective and that the correct indexes are used.
Non-selective queries can lead to:
• Slow reports
• Slow list views
• Performance issues in Apex code
Salesforce therefore recommends specific architectural patterns for LDV environments, such as archiving, indexing, and customized query strategies.
5. Integrations and managed packages
Many Salesforce environments use third-party applications and managed packages from the AppExchange.
Packages can add additional objects, automation, or code. When multiple packages introduce overlapping logic or execute resource-intensive processes, this can impact transaction times.
That’s why it’s important to periodically evaluate:
• Which packages are actively in use
• What automation is performed by packages
• Whether integrations handle API calls and data updates efficiently
6. Browser and network factors
Salesforce Lightning Experience runs largely in the browser. Therefore, client-side factors can also affect how fast the application feels.
Examples include:
• Outdated browsers
• Heavy browser extensions
• High network latency
• Limited hardware capacity
These factors mainly affect the user experience and not always the server-side performance of Salesforce itself.
How to correctly analyze Salesforce performance
Solving performance problems starts with measurement. Without analysis, there is a risk that symptoms will be addressed instead of the underlying cause.
Step 1: Determine technical baseline
Analyze the current configuration of the org:
• Automation (Flows, Apex triggers, validation rules)
• Installed managed packages
• Data model and relationships
• Batch jobs and scheduled processes
• Integrations and API usage
Tools such as Salesforce Optimizer, debug logs, Event Monitoring, and Lightning Usage App can provide valuable insights in this regard.
Step 2: Analysis of usage and transactions
Next, look at how users and systems actually work with Salesforce:
• Which transactions occur most frequently
• Where delays occur
• How automation behaves during peak loads
Debug logs and performance monitoring can help analyze CPU usage, query time, and other platform limits.
Step 3: Determine the root cause
Link performance issues to specific causes, for example:
• Slow transactions → complex automation or CPU limits
• Locking errors → data skew or simultaneous updates
• Slow reports → non-selective queries or large data volumes
Based on this, a priority list can be created for optimizations.
How to Safely Resolve Performance Issues
Structural improvements usually happen in phases.
Clean up configuration
Take stock of automation, fields, and processes. Remove or consolidate components that are no longer needed.
Optimizing automation
Combine overlapping logic and ensure that automation is only performed when functionally necessary.
Improve data model
Analyze relationships, record volumes, and sharing models. Consider archiving or model adjustments for large datasets.
Evaluating integrations
Ensure that integrations handle data updates and bulk processing efficiently.
Performance in CPQ environments
In Salesforce CPQ implementations, performance can depend heavily on the complexity of the product model and pricing rules.
When configuration or pricing rules are unnecessarily evaluated for each quote, it can slow down the calculation process. By correctly applying conditional logic and optimizing rules, calculation time can be significantly reduced.
How often should you evaluate performance?
For mission-critical Salesforce environments, it is advisable to conduct a performance review on a regular basis. Many organizations do this at least once a quarter, often in line with Salesforce releases.
For environments with complex automation or CPQ, more frequent monitoring may be desirable.
Interested in what we can do for you?
Contact our experts directly. We'd love to hear from you!
Frequently Asked Questions
What is the main cause of Salesforce slowing down?
Salesforce usually slows down due to a combination of factors, such as outdated configurations that accumulate, inefficient automation, complex data relationships, browser or computer limitations, and the quality of the internet connection.
CaseNine's diagnostic work shows that approximately 70% of performance issues are caused by automation that is performed more frequently or more extensively than business processes require. The remaining 30% is related to pressure on the data structure, too many applications, or limitations on the browser or hardware side.
Can a single setting resolve Salesforce performance issues?
No. Performance issues rarely have a single cause. CaseNine therefore draws up priority plans in which multiple factors are addressed step by step.
Quick fixes often only mask symptoms without addressing the underlying cause, allowing problems to recur later on.
Does CPQ have a negative impact on performance?
When Salesforce Industries CPQ or Salesforce RevOps / Agentforce CPQ is well designed, it can actually improve efficiency and accuracy without reducing performance.
The key lies in a well-thought-out design: product models must be well managed, pricing rules must be correctly defined, and the complexity of quotes must match the capacity of the system. Poorly designed CPQ configurations can add unnecessary complexity and cause performance issues, but that is due to the implementation, not the platform itself.
How should you deal with existing technical debt?
Technical debt can best be reduced gradually through audits, cleaning up unused components, simplifying automation, and standardizing data structures.
CaseNine recommends treating technical debt reduction as ongoing maintenance rather than a one-time project. HUBBL scans provide an objective way to measure the accumulation of technical debt and the progress of cleanup over time.
How often should performance be evaluated?
CaseNine recommends performing a quarterly performance audit for Salesforce systems that are critical to revenue processes, preferably in line with regular Salesforce updates.
For organizations using CPQ or Agentforce Revenue Management, it is also advisable to conduct an additional evaluation when:
- the complexity of the product catalog increases by more than 20%
- new pricing rules are being implemented
HUBBL diagnostics can also be performed monthly to maintain insight into the system's performance between quarterly reviews.
Receive notification when a new blog arrives
We would love to keep you updated on the latest news.