Use a monotonic clock instead of time.time()
#109
Labels
enhancement
something nice to have but it is not neither critical nor urgent
good first issue
issues that should be easy to get done
Describe the feature you'd like
time.time()
is sensible to time shifts due to clock readjustments via NTPor others.
This may lead to unexpected timeouts, event to absurd elapsed time
notifications (like saying that an example took hours)
The new Python 3.x's monotonic clock should be immune to these.
The codes that use
time.time()
to calculate delta of times are:byexample/byexample/modules/progress.py
Line 67 in 3389113
byexample/byexample/common.py
Line 395 in 3389113
byexample/byexample/expected.py
Line 503 in 3389113
The text was updated successfully, but these errors were encountered: