Hot answers tagged

1

Find out what consumes the most CPU Time In Developer Console ==> Select Debug on the top menu -> Switch Perspective -> Analysis (Predefined) Choose Timeline ==> Scale (Choose the one fits you). On this timeline view above, we can now see that Apex, Workflow, and Database actions are executed in sequence and how much time each of them consumes. ...


1

Batchable is not appropriate for use in triggers because of the maximum queue size. Use either future or Queueable.


Only top voted, non community-wiki answers of a minimum length are eligible