Skip to content

Conversation

@bdarnell
Copy link
Member

On windows, time.time has low resolution (about 15ms), which makes performance tests flaky. time.perf_counter has much higher resolution and is the recommended way to measure elapsed time.

On windows, time.time has low resolution (about 15ms), which makes
performance tests flaky. time.perf_counter has much higher resolution
and is the recommended way to measure elapsed time.
@bdarnell bdarnell merged commit ed895ca into tornadoweb:master Dec 11, 2025
15 checks passed
@bdarnell bdarnell deleted the perf-counter branch December 11, 2025 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant