Skip to content

Anuar-boop/http-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

http-benchmark

Fast HTTP benchmarking tool. Send concurrent requests and get latency percentiles, throughput, and error rates.

go install github.com/Anuar-boop/http-benchmark@latest

Quick Start

http-benchmark https://api.example.com
http-benchmark https://api.example.com -n 1000 -c 50
http-benchmark http://localhost:3000/health -n 500

Output

  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

Features

  • 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)

License

MIT

About

Fast HTTP benchmarking tool with latency percentiles, RPS, and throughput stats.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages