-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,10 @@ | ||
# HTTP(s) bench | ||
|
||
## Application | ||
### **Go-bench** is a simple cross-platform HTTP(s) server benchmark application written in Go using the [fasthttp](https://github.com/valyala/fasthttp?ysclid=lcwgg8cpz3782494501) library. | ||
|
||
./bench -url localhost:8080 -rps 100 | ||
## Application use | ||
|
||
- URL set endpoint | ||
- RPS set count of requests in one second (max is 65535) | ||
|
||
# How to compile application? | ||
|
||
Clone repo | ||
./file_name -url localhost:8080 -rps 100 | ||
|
||
git clone https://github.com/xeynyty/go-bench | ||
|
||
Compile (GO >= 1.19 recommended) | ||
|
||
go build -o bench main.go | ||
- URL set endpoint | ||
- RPS set count of requests in one second (max is 65535) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters