Message317693
@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 |
|
Date |
User |
Action |
Args |
2018-05-25 17:42:31 | jimmylai | set | recipients:
+ jimmylai, pitrou, vstinner, asvetlov, yselivanov |
2018-05-25 17:42:31 | jimmylai | set | messageid: <1527270151.11.0.682650639539.issue33521@psf.upfronthosting.co.za> |
2018-05-25 17:42:31 | jimmylai | link | issue33521 messages |
2018-05-25 17:42:31 | jimmylai | create | |
|