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 asvetlov
Recipients asvetlov, josh.r, kj, spenczar, yselivanov
Date 2022-02-22.23:07:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645571248.16.0.995047013748.issue43119@roundup.psfhosted.org>
In-reply-to
Content
Sorry, that's how asyncio works: it never switches to another task if `await ...` doesn't need to wait for something actually.

Adding `await asyncio.sleep(0)` to every call decreases performance.
History
Date User Action Args
2022-02-22 23:07:28asvetlovsetrecipients: + asvetlov, yselivanov, josh.r, kj, spenczar
2022-02-22 23:07:28asvetlovsetmessageid: <1645571248.16.0.995047013748.issue43119@roundup.psfhosted.org>
2022-02-22 23:07:28asvetlovlinkissue43119 messages
2022-02-22 23:07:28asvetlovcreate