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

Function BenchmarkEncode4K

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

Source from the content-addressed store, hash-verified

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) }
107func BenchmarkEncode16K(b *testing.B) { benchmarkEncode(b, 1024*16) }
108func BenchmarkEncode32K(b *testing.B) { benchmarkEncode(b, 1024*32) }
109func BenchmarkEncode128K(b *testing.B) { benchmarkEncode(b, 1024*128) }

Callers

nothing calls this directly

Calls 1

benchmarkEncodeFunction · 0.85

Tested by

no test coverage detected