STINNER Victor <vstin...@python.org> added the comment:

> On Windows with a Python 3.11 debug build, I get:
> Mean +- std dev: 21.9 ms +- 7.8 ms (228 values)

I wrote an optimization to cache the Windows timer handle between time.sleep() 
calls (don't close it). I don't think that it's needed because they shortest 
sleep is about 15.6 ms. CreateWaitableTimerW() is likely way more fast than 
15.6 ms. So this optimization is basically useless.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue21302>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to