- Start the test server:
go run test-server.go
- Run the benchmark:
go run benchmark.go
Following parameters are available:
bench-dur
: benchmark duration in seconds (default:10
)addr
: address of the target test server likelocalhost:80
(default::8081
)clients
: number of concurrent clients (default:10
)