Python ASGI Framework Benchmarks
a year ago
- #ASGI
- #Performance
- #Frameworks
- Performance comparison of ASGI frameworks using a 'hello world' JSON response test.
- Muffin leads with 889,891 total requests and 58,931.31 requests per second.
- Blacksheep follows closely with 831,432 total requests and 55,060.05 requests per second.
- MicroPie, Starlette, Litestar, Sanic, and FastAPI show descending performance metrics.
- FastAPI has the lowest performance with 281,493 total requests and 18,756.73 requests per second.
- All tests were conducted using uvicorn as the server with 4 workers on a Dell XPS 13 with 16GB RAM.