Fork of the excellent ghz package with some small modifications. This version improves the histogram in the report and fixes some small bugs.
gRPC benchmarking and load testing tool.
All documentation for the library fork on pkg.go.dev.
report, err := runner.Run(
"helloworld.Greeter.SayHello",
"localhost:50051",
runner.WithProtoFile("greeter.proto", []string{}),
runner.WithDataFromFile("data.json"),
runner.WithInsecure(true),
)
if err != nil {
fmt.Println(err.Error())
os.Exit(1)
}
printer := printer.ReportPrinter{
Out: os.Stdout,
Report: report,
}
printer.Print("pretty")
Icon made by Freepik from www.flaticon.com is licensed by CC 3.0 BY
Apache-2.0