Skip to content

Use `time.perf_counter_ns()` to measure time differences

Stan Hu requested to merge sh-use-perf-counter-timing into main

We should not be using time.time() since this can change if the clock is adjusted. Use time.perf_counter() for more precise benchmarking.

Merge request reports