reactpy icon indicating copy to clipboard operation
reactpy copied to clipboard

Use `uvloop` instead of `asyncio` when possible.

Open Archmonger opened this issue 2 years ago • 0 comments

Current Situation

uvloop is a high performance drop-in replacement for asyncio. When possible, we should be using it.

Proposed Actions

Similar to uvicorn --loop=auto, we should automatically use uvloop whenever possible.

However, we should only do this if we can demonstrate performance improvements. I'm uncertain if it makes a difference for us since ReactPy is not directly handling any IO.

Archmonger avatar Mar 03 '23 06:03 Archmonger