Skip to content

Pedr0Rocha/yabt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another (http) Benchmark Tool

However, this one is interactive (and it looks nice, thanks to bubbletea). The use case is to tweak the req/sec on the fly by increasing or decreasing the interval between each request. Each time you press up, it will divide the request interval by 2. Same for arrow down, which will multiply it by 2.

Response time is calculated from the moment the connection is successfully established until the first byte of the response header is available. Meaning it should only measure the server processing time.

It also features reset stats ("r"). This will reset all the stats and keep the req/s as is. So you can find the right req/s and start calculating stats from there.

Usage

-url string
  URL to send requests to

$ ./yabt -url=http://localhost:8080

Demo

It starts with Request Interval: 1s by default. You can change it by pressing up/down. The server in the demo returns random http statuses back and sleeps for 0~10ms.

demo.mov

About

[WIP] Interactive http benchmark tool

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages