salesforce-automation-benchmarking
Collection of different automation implementations that can be used to benchmark performance
Setup:
- Working setup of SFDX
- Clone this repository to your computer
- Create a new scratch org
- Install Limits Profiler into scratch org
sfdx force:package:install --package 04t41000002RXGo
- Push the components to the org
sfdx force:source:push
Testing:
- Determine which scenario you'd like to test and make sure all other automations are deactivated.
- Navigate to
/apex/LimitsProfiler
in the org. - Click
Configure
and set the Profiler Type toProfilers.InsertProfiler
and iterations to1
. Check any of the limits you are interested in seeing. Save the Config. - Click
Measure
. This will insert 200 accounts. The insert will use 1 DML Statement and 200 DML Rows. The remaining things are done by the automation type selected. - Optionally, you can click
Save
to save the profiling to a custom object called Limits Snapshots.