Author jimmylai
Recipients asvetlov, jimmylai, pitrou, vstinner, yselivanov
Date 2018-05-25.17:42:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527270151.11.0.682650639539.issue33521@psf.upfronthosting.co.za>
In-reply-to
Content
@vstinner
In general, we would like to make all asyncio common functions efficient with C implementation because CPython asyncio overhead is very expensive.
In our application, overall it costs about 10% global CPU instructions after we used UVLoop (it's much worse when use default event loop).
gather() is only one of the high level function bottleneck. To make CPU overhead not a concern for asyncio user, we should make isfuture in C because it's called by many other event loop functions, e.g. in asyncio/tasks.py, asyncio/coroutines.py, asyncio/base_events.py
History
Date User Action Args
2018-05-25 17:42:31jimmylaisetrecipients: + jimmylai, pitrou, vstinner, asvetlov, yselivanov
2018-05-25 17:42:31jimmylaisetmessageid: <1527270151.11.0.682650639539.issue33521@psf.upfronthosting.co.za>
2018-05-25 17:42:31jimmylailinkissue33521 messages
2018-05-25 17:42:31jimmylaicreate