Author vstinner
Recipients germn, gvanrossum, pitrou, r.david.murray, vstinner, yselivanov
Date 2017-09-21.21:43:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwZGXj97ASGsx13sRe49P6fB_g1fEeenZrkAMCK0Nsn6Dw@mail.gmail.com>
In-reply-to <1506029714.58.0.735904764423.issue31539@psf.upfronthosting.co.za>
Content
Issues:
- bpo-20320
- bpo-20452
- bpo-20505
- bpo-20311

The performance issue was that the asyncio core loop was running in a loop
but did nothing because of time rounding. When the next event was in a few
nanoseconds, the e event burnt the CPU during <clock resolution> seconds.
It can be 15 ms on Windows or 1 ms when using poll() for example. It's not
just clock resolution, also the resolution of the selector.

Hopefully, select and selectors now round towards +inf (rather than
rounding down, towards zero or -inf) and so the selector resolution is no
more an issue if I recall correctly.
History
Date User Action Args
2017-09-21 21:43:03vstinnersetrecipients: + vstinner, gvanrossum, pitrou, r.david.murray, yselivanov, germn
2017-09-21 21:43:03vstinnerlinkissue31539 messages
2017-09-21 21:43:03vstinnercreate