You need to sign in to do that
Don't have an account?
Understanding timestamp changes for debug logs
We have a trigger on an object which as per the debug logs seems to be taking more than 1.5 seconds to execute. When observed the timestamp in debug logs, there was something unusual. Please find screenshot below.
The highlighted line indicates completion of code execution for trigger. The time in brackets is in nanoseconds which comes out to be 0.4 seconds.
But the line, just after that, modifies the timestamp and updates the same by adding 1 second to the time. Any idea, what is the extra processing happening here?

The highlighted line indicates completion of code execution for trigger. The time in brackets is in nanoseconds which comes out to be 0.4 seconds.
But the line, just after that, modifies the timestamp and updates the same by adding 1 second to the time. Any idea, what is the extra processing happening here?