You need to sign in to do that
Don't have an account?
Steve Baxter
Looking for information that details performance differences between sandboxes and production instances related to Test Class Execution.
We find when running the full set of test classes in our sandboxes that they will take twice as long as complete. We are looking to set specific improvement benchmarks with our business leaders and need to understand expected differences in sandboxes and production. Salesforce Support directed me to this forum as they could not provide any detail. Thanks!
It completely depends on amount of data in production and sandbox and when you execute any SOQL query in your test class. In some case test class may pass in sandbox and fail in production vice-versa. This depends on data configured in both instances.
Check below reference which has more details.
https://salesforce.stackexchange.com/questions/42163/performance-difference-between-sandbox-and-production-instances
Please mark as Best Answer if above information was helpful.
Thanks,