Skip to content

Application for the stress test of the API-Server

Notifications You must be signed in to change notification settings

xeynyty/go-bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP(s) bench

Go-bench is a simple cross-platform HTTP(s) server benchmark application written in Go using the fasthttp library.

Application use

./file_name -url localhost:8080 -rps 100
  • URL set endpoint
  • RPS set count of requests in one second (max is 65535)

Result:

Host: localhost:8080
RPS: 100

^C       // Ctrl + C for stop

{
    "req_count":259,
    "err_count":0,
    "average_response_time_ms":57.96139,
    "max_response_time_ms":265,
    "min_response_time_ms":38,
    "time_of_bench_sec":2.7747707,
    "percent_of_errors":0
}

About

Application for the stress test of the API-Server

Resources

Stars

Watchers

Forks

Packages

No packages published