Which function is recommended for measuring elapsed time precisely in Python?
Correct answer
A. time.perf_counter()
7 views
A. time.perf_counter()
7 views
perf_counter offers the highest-resolution monotonic clock.
Asked in: Python Interview Standard Library
https://docs.python.org/3/library/index.htmlNot sure why the answer is A? Ask here and get an explanation.