Closed kemingy closed 1 year ago
Need to choose a monotonic clock for benchmark timing.
time.perf_counter should be much more accurate. I guess it's not necessary to use a perf_counter_ns.
time.perf_counter
perf_counter_ns
Ref: https://docs.python.org/3/library/time.html#time.perf_counter
Need to choose a monotonic clock for benchmark timing.
time.perf_counter
should be much more accurate. I guess it's not necessary to use aperf_counter_ns
.Ref: https://docs.python.org/3/library/time.html#time.perf_counter