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

Function BenchmarkGZIPCompressor1KiB

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

Source from the content-addressed store, hash-verified

400}
401
402func BenchmarkGZIPCompressor1KiB(b *testing.B) {
403 bmCompressor(b, 1024, NewGZIPCompressor())
404}
405
406func BenchmarkGZIPCompressor8KiB(b *testing.B) {
407 bmCompressor(b, 8*1024, NewGZIPCompressor())

Callers

nothing calls this directly

Calls 2

bmCompressorFunction · 0.85
NewGZIPCompressorFunction · 0.85

Tested by

no test coverage detected