Author jimmylai
Recipients asvetlov, jimmylai, pitrou, vstinner, yselivanov
Date 2018-05-19.18:16:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
@pitrou This change is part of optimization for asyncio.gather().
gather -> ensure_future -> isfuture/iscoroutine/isawaitable

We need C implementation for all those function to make gather really efficient for large scale application (e.g. Instagram)
Gather is really slow and cost ~2% CPU on our server.

The same optimization approach has been apply on other ciritcal asyncio modules, e.g. Future, get_event_loop, etc.
Date User Action Args
2018-05-19 18:16:08jimmylaisetrecipients: + jimmylai, pitrou, vstinner, asvetlov, yselivanov
2018-05-19 18:16:08jimmylaisetmessageid: <>
2018-05-19 18:16:08jimmylailinkissue33521 messages
2018-05-19 18:16:08jimmylaicreate