This is an archive of the discontinued Mercurial Phabricator instance.

py3: replace `time.clock()` with `time.perf_counter()`
ClosedPublic

Authored by mharbison72 on Dec 31 2019, 4:57 PM.

Details

Summary

The former was removed in 3.8. The util function uses time.clock() if the
latter is unavailable.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.