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

Function BenchmarkGZIPCompressor1MiB

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

Source from the content-addressed store, hash-verified

416}
417
418func BenchmarkGZIPCompressor1MiB(b *testing.B) {
419 bmCompressor(b, 1024*1024, NewGZIPCompressor())
420}
421
422// mustCompress gzip-compresses input and returns it as a BufferSlice,
423// failing the test if compression fails.

Callers

nothing calls this directly

Calls 2

bmCompressorFunction · 0.85
NewGZIPCompressorFunction · 0.85

Tested by

no test coverage detected