Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add some more http benchmarks #227

Open
graingert opened this issue Aug 16, 2022 · 2 comments
Open

add some more http benchmarks #227

graingert opened this issue Aug 16, 2022 · 2 comments

Comments

@graingert
Copy link

Currently there's tornado_http but there's loads of high quality benchmarks for asyncio clients and servers

https://magic.io/blog/uvloop-blazing-fast-python-networking/

I also want to see if it's possible to make SelectorEventLoop perform faster than uvloop

@mdboom
Copy link
Contributor

mdboom commented Aug 17, 2022

I think this is a great idea, especially for some combination of micro- and macrobenchmarks.

Most of what we have already in the suite is CPU-bound, and I wonder if some of this http benchmarks might be I/O bound. First, it would be good just to know that. But secondly, we may want to take care about how they roll up into aggregate numbers (probably through use of the aggregation-by-tagging that recently landed in pyperf).

@graingert
Copy link
Author

My understanding is that the uvloop benchmarks were already very carefully designed to eliminate IO bound code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants