Skip to content

ajax16384/ahsbt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Another HTTP Server Benchmark Test

Small http server benchmark tool powered by libcurl library (https://curl.haxx.se/libcurl/)

There are plenty number of tools with same functionality but they have some disadvantages:

  • ab and wrk lack http2 support
  • h2load has no non keep alive mode
  • go based tools hey, vegeta has non deterministic thread-process usage

Usage

Usage: ahsbt [option...] url
Options:
  --requests       overall requests count (default: 2)
  --connections    concurrent connections count per single thread (default: 2)
  --threads        concurrent threads count (default: 2)
  --noreuse        forbid reuse connection (default: false)
  --insecure       disable SSL peer and host verification (default: false)
  --fastopen       enable TCP Fast Open (default: false)
  --tcpnagle       enable TCP Nagle (default: false)
  --verbose        verbose information will be sent to stderr (default: false)
  --http           enforce http version (default: none)
                   1      - HTTP 1.0
                   1.1    - HTTP 1.1
                   2      - HTTP 2
                   2tls   - HTTP 2 for HTTPS, HTTP 1.1 for HTTP
                   2prior - HTTP 2 without HTTP/1.1 Upgrade
Examples:
  ./ahsbt --threads=4 --requests=10000 http://example.com/

Build

mkdir cmake-build
cd cmake-build
cmake ..
make

About

Another HTTP Server Benchmark Test

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published