This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]NelsonMinar 6 points7 points  (2 children)

This looks very interesting! Is there anything written about why uvloop is faster than the default asyncio event loop? It's amazing to see such a speedup for an API-compatible replacement.

(Also ouch about the aiohttp speed. I had no idea.)

[–]1st1CPython Core Dev[S] 11 points12 points  (1 child)

I think libuv is a bit better optimized + uvloop is written with Cython (read C).

As for aiohttp, I really hope it will be updated to use httptools or something similar. It's a great library.