#!/usr/bin/env python3 """ throughput.py - a minimal, dependency-free concurrent HTTP load generator. This repo intentionally does not shell out to wrk/hey/ab (neither was available in the sandbox this repo was built in, and a stdlib script means the load generator itself needs no separate install or version callout). Each worker thread keeps one persistent HTTP/1.1 connection (http.client, keep-alive) and fires GET requests back-to-back for a fixed wall-clock duration; the main thread joins all workers and aggregates. Usage: throughput.py