Hacker News new | ask | show | jobs
by tomas789 1114 days ago
A no-op API call to FastAPI takes more than that. Even when running on localhost. And FastAPI is one of the better contestants.
3 comments

If fast api didn't use pydantic (the slowest library in that space), I'm sure it might be more deserving of the name :D

Microbenchmark to compare with typedload (which I wrote) and apischema https://ltworf.github.io/typedload/performance.html

Note that pydantic and apischema use .so files, while typedload is just pure python code.

A no-op localhost call takes more than 100ms??
On my mobile i5 10-gen it's 23 ms.