You need to sign in to do that
Don't have an account?
Pathikrit
Apex Trigger Execution Time by Event
Hello,
I am working on refactoring triggers in a certain org. For a given object CustomObject__c there are a few managed as well as unmanaged triggers. When it comes to trigger execution time, I could get the total time taken for a transaction from the debug log. The developer console Execution Overview gives a pretty good idea about which query/method etc. is more time consuming.
But, what I'm looking for is to understand how much time the trigger is taking per event. So, if there is an update on the CustomObject__c , I would like to know how much time is consumed by the Before Update trigger event and how much by the After Update trigger event.
Is there any way to get this?
Thanks,
Pathikrit
I am working on refactoring triggers in a certain org. For a given object CustomObject__c there are a few managed as well as unmanaged triggers. When it comes to trigger execution time, I could get the total time taken for a transaction from the debug log. The developer console Execution Overview gives a pretty good idea about which query/method etc. is more time consuming.
But, what I'm looking for is to understand how much time the trigger is taking per event. So, if there is an update on the CustomObject__c , I would like to know how much time is consumed by the Before Update trigger event and how much by the After Update trigger event.
Is there any way to get this?
Thanks,
Pathikrit