[issue34535] queue.Queue(timeout=0.001) avg delay Windows:14.5ms, Ubuntu: 0.063ms
Paul Overing
report at bugs.python.org
Wed Aug 29 08:24:28 EDT 2018
Paul Overing <paulovering at gmail.com> added the comment:
Thank you for your quick response. But 1ms resolution or not, 14.5ms does not seem reasonable given that in Ubuntu it is 0.049ms. Ubuntu is on average 295x faster.
Also the variability in times is much higher in Windows max/avg = 9.547, avg/min = 8.69.
It makes the windows queue.Queue implementations with timeouts unusable in low latency environments and should be documented as such. As it is slow and highly variable.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34535>
_______________________________________
More information about the Python-bugs-list
mailing list