Draft: Use uvloop
Description
uvloop is a drop-in replacement for the event loop provided by asyncio
that provides significant performance improvements.
Changes
- Add a utility function
get_event_loop
, that makes the necessary changes needed to use uvloop. - Replace all instances of
asyncio.get_event_loop
with the new utility function. - Add the asynctest library which allows for easy mocking of asyncio methods.
TODO
-
Performance Test
Edited by Arber X