Why is there a discrepancy in total workflow time and can combining node code steps in a single step optimize speed?

If you look at a specific execution that took a long time to complete, and trace the timestamps from the execution start and each of the steps Details section (or Logs), where do you see the delays?