https://peps.python.org/pep-3333/#optional-platform-specific...
And no, I’m not going to fix your benchmarks for you. This does not provide any value to me but does come at a time cost.
I appreciate you raising the issue and performing research on it, that’s valuable and I applaud you for that. I simply don’t believe that this is a valid benchmark from a technical soundness perspective.
Again if you think I was not fair to fastapi, suggest a change to the fastapi part. Do not cripple the competing solution.
If you want believe the time is wasted by the introduction of uvicorn layer as opposed to pure python implementation, I can run the fastapi in pure python ASGI without that layer, it would be worse. Because you uvicorn is one of the best implements.
https://gist.github.com/muayyad-alsadi/3a1e1cdbafca34df8b178...