func DoUnaryCall(tc testpb.BenchmarkServiceClient, reqSize, respSize int) error {
	pl := newPayload(testpb.PayloadType_COMPRESSABLE, reqSize)
	req := &testpb.SimpleRequest{
		ResponseType: pl.Type,
		ResponseSize: int32(respSize),
		Payload:      pl,
	}
	if _, err := tc.UnaryCall(context.Background(), req); err != nil {
		return fmt.Errorf("/BenchmarkService/UnaryCall(_, _) = _, %v, want _, <nil>", err)
	}
	return nil
}
// DoUnaryCall performs an unary RPC with given stub and request and response sizes.
DoUnaryCall performs an unary RPC with given stub and request and response sizes.
// DoUnaryCall performs an unary RPC with given stub and request and response sizes .
func DoUnaryCall(tc testpb.BenchmarkServiceClient, reqSize, respSize int) error {
	pl := newPayload(testpb.PayloadType_COMPRESSABLE, reqSize)
	req := &testpb.SimpleRequest{
		ResponseType: pl.Type,
		ResponseSize: int32(respSize),
		Payload:      pl,
	}
	if _, err := tc.UnaryCall(context.Background(), req); err != nil {
		return fmt.Errorf("/BenchmarkService/UnaryCall(_, _) = _, %v, want _, <nil>", err)
	}
	return nil
}
func DoUnaryCall ( tc testpb . BenchmarkServiceClient , reqSize , respSize int ) error { pl := newPayload ( testpb . PayloadType_COMPRESSABLE , reqSize ) req := & testpb . SimpleRequest { ResponseType : pl . Type , ResponseSize : int32 ( respSize ) , Payload : pl , } if _ , err := tc . UnaryCall ( context . Background ( ) , req ) ; err != nil { return fmt . Errorf ( " " , err ) } return nil }
DoUnaryCall performs an unary RPC with given stub and request and response sizes.
DoUnaryCall performs an unary RPC with given stub and request and response sizes .