ghz

Simple gRPC benchmarking and load testing tool

brewmacoslinux
Try with needOr install directly
Source

About

Simple gRPC benchmarking and load testing tool

Commands

ghz

Examples

Basic benchmark against a gRPC service with unary RPC$ ghz --insecure --proto ./service.proto --call helloworld.Greeter/SayHello -m '{"name":"World"}' localhost:50051
Load test with 1000 concurrent connections and 10000 requests$ ghz --insecure --proto ./service.proto --call helloworld.Greeter/SayHello -c 1000 -n 10000 -m '{"name":"World"}' localhost:50051
Benchmark streaming RPC with metadata from JSON file$ ghz --insecure --proto ./service.proto --call helloworld.Greeter/SayHelloStream -d @ -m '{"name":"World"}' -M metadata.json localhost:50051 < requests.json