# Packages
Package main provides benchmark with setting flags.
To format the benchmark result:
go run benchmark/benchresult/main.go resultfile
To see the performance change based on a old result:
go run benchmark/benchresult/main.go resultfile_old resultfile
It will print the comparison result of intersection benchmarks between two files.
No description provided by the author
Package grpc_testing is a generated protocol buffer package.
Package latency provides wrappers for net.Conn, net.Listener, and net.Dialers, designed to interoperate to inject real-world latency into network connections.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
AddOne add 1 to the features slice.
DoByteBufStreamingRoundTrip performs a round trip for a single streaming rpc, using a custom codec for byte buffer.
DoStreamingRoundTrip performs a round trip for a single streaming rpc.
DoUnaryCall performs an unary RPC with given stub and request and response sizes.
NewClientConn creates a gRPC client connection to addr.
StartServer starts a gRPC server serving a benchmark service according to info.
# Structs
ServerInfo contains the information to create a gRPC benchmark server.