pyperformance icon indicating copy to clipboard operation
pyperformance copied to clipboard

add some more http benchmarks

Open graingert opened this issue 2 years ago • 2 comments

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

graingert avatar Aug 16 '22 14:08 graingert

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).

mdboom avatar Aug 17 '22 13:08 mdboom

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

graingert avatar Aug 17 '22 15:08 graingert