- Generate TLS certificates for
localhost
:
pip install trustme-cli
trustme-cli
- Run
wrk
on each endpoint, eg:
wrk https://localhost:8000/aiohttp/single
aiohttp | httpx | aiohttp/httpx | |
---|---|---|---|
single (req/s) | 121 | 48 | 2.5 |
client (req/s) | 284 | 221 | 1.2 |
client/single | 2.3 | 4.6 | 0.5 |