Quick Answer: Measuring execution time using wall-clock functions like Date. now() or System. currentTimeMillis() can yield negative durations if your server synchronizes its clock mid-operation.
Source: [Dev.to](https://dev.to/doogal/measuring-execution-time-safely-with-monotonic-clocks-1e8k)