MCPcopy Index your code
hub / github.com/CodisLabs/codis / BenchmarkEncode512B

Function BenchmarkEncode512B

pkg/proxy/redis/encoder_test.go:103–103  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

101func BenchmarkEncode16B(b *testing.B) { benchmarkEncode(b, 16) }
102func BenchmarkEncode64B(b *testing.B) { benchmarkEncode(b, 64) }
103func BenchmarkEncode512B(b *testing.B) { benchmarkEncode(b, 512) }
104func BenchmarkEncode1K(b *testing.B) { benchmarkEncode(b, 1024) }
105func BenchmarkEncode2K(b *testing.B) { benchmarkEncode(b, 1024*2) }
106func BenchmarkEncode4K(b *testing.B) { benchmarkEncode(b, 1024*4) }

Callers

nothing calls this directly

Calls 1

benchmarkEncodeFunction · 0.85

Tested by

no test coverage detected