package
2.0.0+incompatible
Repository: https://github.com/csci-2390-project/grpc-go.git
Documentation: pkg.go.dev
# Packages
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.
Package flags provide convenience types and routines to accept specific types
of flag values on the command line.
No description provided by the author
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
Package stats tracks the statistics associated with benchmark runs.
# Functions
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.
NewClientConnWithContext creates a gRPC client connection to addr using ctx.
NewPayload creates a payload with the given type and size.
StartServer starts a gRPC server serving a benchmark service according to info.
# Structs
ServerInfo contains the information to create a gRPC benchmark server.