Documentation ¶
Index ¶
- func CallEcho(octx *context.T, server string, payloadSize int, duration time.Duration) uint64
- func CallSum(ctx *context.T, server string, maxPayloadSize int, stats *stress.SumStats)
- func CallSumStream(ctx *context.T, server string, maxChunkCnt, maxPayloadSize int, ...)
- func NewService() (stress.StressServerStub, <-chan struct{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallEcho ¶
CallEcho calls 'Echo' method with the given payload size for the given time duration and returns the number of iterations.
func CallSumStream ¶
func CallSumStream(ctx *context.T, server string, maxChunkCnt, maxPayloadSize int, stats *stress.SumStats)
CallSumStream calls 'SumStream' method. Each iteration sends up to 'maxChunkCnt' chunks on the stream and receives the same number of sums back.
func NewService ¶
func NewService() (stress.StressServerStub, <-chan struct{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.