Ultra fast implementation of asyncio event loop on top of libuv

uvloop is a fast, drop-in replacement of the built-in asyncio event loop. uvloop is implemented in Cython and uses libuv under the hood.

The project documentation can be found here. Please also check out the wiki.


uvloop makes asyncio 2-4x faster.


The above chart shows the performance of an echo server with different message sizes. The sockets benchmark usesloop.sock_recv() and loop.sock_sendall() methods; the streams benchmark uses asyncio high-level streams, created by the asyncio.start_server() function; and the protocol benchmark uses loop.create_server() with a simple echo protocol. Read more about uvloop performance.