In brief
time.monotonic() supplies a clock that does not move backwards because the system clock is adjusted. The useful quantity is the difference between readings, not their presentation as a date.
Useful to know
time.monotonic() supplies a clock that does not move backwards because the system clock is adjusted. The useful quantity is the difference between readings, not their presentation as a date. [1]
Record a starting value and subtract it from the ending value. For a network operation, wait for actual completion. Taking the second reading immediately after starting measures startup rather than the whole download.
Sources
For further detail and to check the information: