Calculate time difference between log-entries
For me, myself and I (as a reminder) 🙂 I needed to calculate the difference between a log entry and the previous log-entry to be able to investigate where performance was dropping: With alittle bit of help here and here I figured out how to do it: