python-test-framework icon indicating copy to clipboard operation
python-test-framework copied to clipboard

Use time.perf_counter_ns

Open mjpieters opened this issue 6 months ago • 0 comments

This gives an integer number of nanoseconds, with far greater precision than the timeit.default_timer == time.perf_counter timer which provides a float (double) value in seconds.

mjpieters avatar Jun 09 '25 18:06 mjpieters