6 ms·
I thought FastAPI was the fastest python framework? https://fastapi.tiangolo.com/benchmarks/ https://fastapi.tiangolo.com/benchmarks/ https://www.techempower.
by RileyJames 6y ago
I thought FastAPI was the fastest python framework?
https://fastapi.tiangolo.com/benchmarks/ https://fastapi.tiangolo.com/benchmarks/
https://www.techempower.com/benchmarks/#section=test&runid=7464e520-0dc2-473d-bd34-dbdfd7e85911&hw=ph&test=query&l=zijzen-7 https://www.techempower.com/benchmarks/#section=test&runid=7...
Japronto does rank number one in the json serialisation and plaintext benchmarks. But any real work use case is going to require more than that.
- imbolc 6y agoEven bare ASGI app running on uvicorn would be a few times slower comparing to Japronto and also its memory footprint would be significantly higher. So I guess it depends on your use case. I'd say FastAPI is more for complicated, exposed APIs while Japronto is for small internal microservices when speed is the bottleneck.
- syspec 6y agoSo....not the fastest