MCPcopy
hub / github.com/grpc/grpc-go / BenchmarkEncode1MiB

Function BenchmarkEncode1MiB

rpc_util_test.go:381–383  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

379}
380
381func BenchmarkEncode1MiB(b *testing.B) {
382 bmEncode(b, 1024*1024)
383}
384
385// bmCompressor benchmarks a compressor of a Protocol Buffer message containing
386// mSize bytes.

Callers

nothing calls this directly

Calls 1

bmEncodeFunction · 0.85

Tested by

no test coverage detected