How retr0-flow/async-benchmark works
This is a single-file HTTP-client benchmarking script. Its active workflow runs aiohttp and httpx async request batches under both asyncio and uvloop, collects timings, and prints a comparison table. A synchronous requests/urllib3/httpx benchmark also exists, but its invocation is commented out. The README is empty, so capabilities and relationships here are based on main.py; the graph omits the unrelated coroutine demo.
Main entry points: main.py Benchmark entry
Components 11
Benchmark orchestration
- Benchmark entry
main.py - Asyncio runtime
- Uvloop runtime
- Async suite
main.py
HTTP clients
- Aiohttp benchmark
main.py - Httpx benchmark
main.py - Sync benchmark
main.py
Results and reporting
- Timing results
main.py - Results formatter
main.py
Other components
- Script operator
- Postman Echo
Connections 14
- Script operator → Benchmark entry: runs script
main.py - Benchmark entry → Asyncio runtime: runs suite
main.py - Benchmark entry → Uvloop runtime: runs suite
main.py - Asyncio runtime → Async suite: dispatches
main.py - Uvloop runtime → Async suite: dispatches
main.py - Async suite → Aiohttp benchmark: awaits
main.py - Async suite → Httpx benchmark: awaits
main.py - Aiohttp benchmark → Postman Echo: requests
main.py - Httpx benchmark → Postman Echo: requests
main.py - Async suite → Timing results: appends timings
main.py - Benchmark entry → Timing results: groups runs
main.py - Benchmark entry → Results formatter: prints results
main.py - Results formatter → Timing results: formats
main.py - Sync benchmark → Postman Echo: requests
main.py