This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Livius, akira, python-dev, shankarunni, vstinner, yselivanov
Date 2021-09-22.14:51:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632322314.95.0.943750540819.issue21302@roundup.psfhosted.org>
In-reply-to
Content
> 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.
History
Date User Action Args
2021-09-22 14:51:55vstinnersetrecipients: + vstinner, akira, python-dev, yselivanov, shankarunni, Livius
2021-09-22 14:51:54vstinnersetmessageid: <1632322314.95.0.943750540819.issue21302@roundup.psfhosted.org>
2021-09-22 14:51:54vstinnerlinkissue21302 messages
2021-09-22 14:51:54vstinnercreate