Closed
Description
Documentation
At the moment, it is as follows.
Lines 164 to 169 in cb4615f
The return value may not always be a float measured in seconds. If a different timer
function is used:
timeit.timeit(timer=time.perf_counter_ns)
then it is an integer measured in nanoseconds.
Not entirely sure how to document it unambiguously, but perhaps it can be reworded to say something like: '… as a number measured in the time unit returned by the timer
argument of the constructor (by default: a float measured in seconds).' Or similar?