- Generate TLS certificates for
localhost
:
pip install trustme-cli
trustme-cli
- Run
wrk
on each endpoint, eg:
wrk http://localhost:4000/aiohttp/single
aiohttp | httpx | aiohttp/httpx | |
---|---|---|---|
single (req/s) | 355 | 234 | 1.5 |
client (req/s) | 1447 | 675 | 2.1 |
client/single | 4.1 | 2.9 |