Fast HTTP benchmarking tool. Send concurrent requests and get latency percentiles, throughput, and error rates.
go install github.com/Anuar-boop/http-benchmark@latesthttp-benchmark https://api.example.com
http-benchmark https://api.example.com -n 1000 -c 50
http-benchmark http://localhost:3000/health -n 500 http-benchmark v1.0.0
URL: https://api.example.com
Requests: 1000
Concurrency: 50
Duration: 2.34s
Results
Successful: 998 (99.8%)
Errors: 2
RPS: 427.4 req/s
Throughput: 12.34 MB/s
Latency
Mean: 105.2ms
P50: 89.1ms
P90: 185.3ms
P95: 234.7ms
P99: 512.0ms
Min: 23.4ms
Max: 1.2s
- Concurrent HTTP requests with configurable parallelism
- Latency percentiles (P50, P90, P95, P99)
- Requests per second (RPS)
- Throughput in MB/s
- Error rate tracking
- Progress indicator
- Zero dependencies (pure Go)
MIT