Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cockroachdb/rpc-bench
/ functions
Functions
158 in github.com/cockroachdb/rpc-bench
⨍
Functions
158
◇
Types & classes
20
↓ 12 callers
Function
sovWire
(x uint64)
wire.pb.go:392
↓ 10 callers
Function
encodeVarintWire
(dAtA []byte, offset int, v uint64)
wire.pb.go:330
↓ 7 callers
Method
Close
Close closes the underlying connection.
conn.go:54
↓ 5 callers
Method
Marshal
()
echo.pb.go:288
↓ 5 callers
Function
benchmarkEcho
(b *testing.B, size int, accept func(net.Listener, *tls.Config) error, setup func(net.Addr), teardown func(),
rpc_test.go:57
↓ 4 callers
Method
String
()
echo.pb.go:34
↓ 4 callers
Method
Unmarshal
(dAtA []byte)
echo.pb.go:391
↓ 4 callers
Function
benchmarkEchoGRPC
(b *testing.B, listenAndServeFn func(net.Listener, *tls.Config) error, size int)
rpc_test.go:142
↓ 4 callers
Function
benchmarkEchoStreamGRPC
(b *testing.B, listenAndServeFn func(net.Listener, *tls.Config) error, size int)
rpc_test.go:171
↓ 4 callers
Function
marshal
(buf *bytes.Buffer, m proto.Message)
server.go:192
↓ 4 callers
Method
recvProto
(m proto.Message, uncompressedSize uint32, decompressor decompressFunc)
conn.go:88
↓ 4 callers
Method
sendFrame
(data []byte)
conn.go:58
↓ 4 callers
Function
sovEcho
(x uint64)
echo.pb.go:385
↓ 3 callers
Method
Echo
(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption)
echo.pb.go:151
↓ 3 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
echo.pb.go:303
↓ 3 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
echo.pb.go:333
↓ 3 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
wire.pb.go:243
↓ 3 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
wire.pb.go:293
↓ 3 callers
Method
Reset
()
echo.pb.go:33
↓ 3 callers
Method
Size
()
echo.pb.go:359
↓ 3 callers
Method
Size
()
echo.pb.go:372
↓ 3 callers
Method
Size
()
wire.pb.go:341
↓ 3 callers
Method
Size
()
wire.pb.go:366
↓ 3 callers
Method
write
(w io.Writer, data []byte)
conn.go:75
↓ 2 callers
Method
Marshal
()
wire.pb.go:228
↓ 2 callers
Function
NewEchoClient
(cc *grpc.ClientConn)
echo.pb.go:159
↓ 2 callers
Method
Recv
()
echo.pb.go:183
↓ 2 callers
Function
RegisterEchoServer
(s *grpc.Server, srv EchoServer)
echo.pb.go:220
↓ 2 callers
Method
Send
(*EchoRequest)
echo.pb.go:182
↓ 2 callers
Method
StreamEcho
(ctx context.Context, opts ...grpc.CallOption)
echo.pb.go:152
↓ 2 callers
Function
benchmarkEchoGobRPC
(b *testing.B, size int)
rpc_test.go:283
↓ 2 callers
Function
benchmarkEchoProtoHTTP
(b *testing.B, size int, accept func(net.Listener, *tls.Config) error, roundTripper http.RoundTripper)
rpc_test.go:415
↓ 2 callers
Function
benchmarkEchoProtoHTTP1
(b *testing.B, size int)
rpc_test.go:455
↓ 2 callers
Function
benchmarkEchoProtoHTTP2
(b *testing.B, size int)
rpc_test.go:471
↓ 2 callers
Function
benchmarkEchoProtoRPC
(b *testing.B, size int)
rpc_test.go:340
↓ 2 callers
Function
encodeVarintEcho
(dAtA []byte, offset int, v uint64)
echo.pb.go:348
↓ 2 callers
Function
skipEcho
(dAtA []byte)
echo.pb.go:561
↓ 2 callers
Function
skipWire
(dAtA []byte)
wire.pb.go:733
↓ 1 callers
Method
MarshalTo
([]byte)
server.go:189
↓ 1 callers
Function
NewClient
NewClient returns a new rpc.Client to handle requests to the set of services at the other end of the connection.
client.go:156
↓ 1 callers
Function
NewClientCodec
NewClientCodec returns a new rpc.ClientCodec using Protobuf-RPC on conn.
client.go:47
↓ 1 callers
Function
NewServerCodec
NewServerCodec returns a serverCodec that communicates with the ClientCodec on the other end of the given conn.
server.go:48
↓ 1 callers
Function
ServeConn
ServeConn runs the Protobuf-RPC server on a single connection. ServeConn blocks, serving the connection until the client hangs up. The caller typicall
server.go:183
↓ 1 callers
Method
Size
()
server.go:188
↓ 1 callers
Method
Unmarshal
(dAtA []byte)
echo.pb.go:476
↓ 1 callers
Method
Unmarshal
(dAtA []byte)
wire.pb.go:398
↓ 1 callers
Method
Unmarshal
(dAtA []byte)
wire.pb.go:559
↓ 1 callers
Function
randString
(n int)
rpc_test.go:49
↓ 1 callers
Method
readRequestBody
(r *bufio.Reader, header *RequestHeader, request proto.Message)
server.go:175
↓ 1 callers
Method
readRequestHeader
(r *bufio.Reader, header *RequestHeader)
server.go:171
↓ 1 callers
Method
readResponseBody
(header *ResponseHeader, response proto.Message)
client.go:149
↓ 1 callers
Method
readResponseHeader
(header *ResponseHeader)
client.go:145
↓ 1 callers
Method
writeRequest
(r *rpc.Request, request proto.Message)
client.go:109
↓ 1 callers
Method
writeResponse
(r *rpc.Response, response proto.Message)
server.go:122
Function
BenchmarkGRPCServeHTTP_1K
(b *testing.B)
rpc_test.go:244
Function
BenchmarkGRPCServeHTTP_64K
(b *testing.B)
rpc_test.go:248
Function
BenchmarkGRPCServeHTTP_Stream_1K
(b *testing.B)
rpc_test.go:252
Function
BenchmarkGRPCServeHTTP_Stream_64k
(b *testing.B)
rpc_test.go:256
Function
BenchmarkGRPCServe_1K
(b *testing.B)
rpc_test.go:215
Function
BenchmarkGRPCServe_64K
(b *testing.B)
rpc_test.go:219
Function
BenchmarkGRPCServe_Stream_1K
(b *testing.B)
rpc_test.go:223
Function
BenchmarkGRPCServe_Stream_64k
(b *testing.B)
rpc_test.go:227
Function
BenchmarkGobRPC_1K
(b *testing.B)
rpc_test.go:315
Function
BenchmarkGobRPC_64K
(b *testing.B)
rpc_test.go:319
Function
BenchmarkProtoHTTP1_1K
(b *testing.B)
rpc_test.go:463
Function
BenchmarkProtoHTTP1_64K
(b *testing.B)
rpc_test.go:467
Function
BenchmarkProtoHTTP2_1K
(b *testing.B)
rpc_test.go:478
Function
BenchmarkProtoHTTP2_64K
(b *testing.B)
rpc_test.go:482
Function
BenchmarkProtoRPC_1K
(b *testing.B)
rpc_test.go:368
Function
BenchmarkProtoRPC_64K
(b *testing.B)
rpc_test.go:372
Method
Descriptor
()
echo.pb.go:36
Method
Descriptor
()
echo.pb.go:80
Method
Descriptor
()
wire.pb.go:58
Method
Descriptor
()
wire.pb.go:134
Method
Echo
(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption)
echo.pb.go:163
Method
Echo
(context.Context, *EchoRequest)
echo.pb.go:205
Method
Echo
(ctx context.Context, req *EchoRequest)
echo.pb.go:213
Method
Echo
(ctx context.Context, req *EchoRequest)
rpc_test.go:123
Method
Echo
(args *EchoRequest, reply *EchoResponse)
rpc_test.go:264
Method
EnumDescriptor
()
wire.pb.go:43
Method
GetCompression
()
wire.pb.go:109
Method
GetCompression
()
wire.pb.go:185
Method
GetError
()
wire.pb.go:178
Method
GetId
()
wire.pb.go:88
Method
GetId
()
wire.pb.go:164
Method
GetMethod
()
wire.pb.go:95
Method
GetMethod
()
wire.pb.go:171
Method
GetMethodId
()
wire.pb.go:102
Method
GetMsg
()
echo.pb.go:66
Method
GetMsg
()
echo.pb.go:110
Method
GetUncompressedSize
()
wire.pb.go:116
Method
GetUncompressedSize
()
wire.pb.go:192
Method
Marshal
()
echo.pb.go:318
Method
Marshal
()
wire.pb.go:278
Method
MarshalTo
(dAtA []byte)
echo.pb.go:298
Method
MarshalTo
(dAtA []byte)
echo.pb.go:328
Method
MarshalTo
(dAtA []byte)
wire.pb.go:238
Method
MarshalTo
(dAtA []byte)
wire.pb.go:288
Method
ProtoMessage
()
echo.pb.go:35
Method
ProtoMessage
()
echo.pb.go:79
next →
1–100 of 158, ranked by callers