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

Function newBenchmarkEncoder

pkg/proxy/redis/encoder_test.go:86–88  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

84}
85
86func newBenchmarkEncoder(n int) *Encoder {
87 return NewEncoderSize(ioutil.Discard, 1024*128)
88}
89
90func benchmarkEncode(b *testing.B, n int) {
91 multi := []*Resp{

Callers 1

benchmarkEncodeFunction · 0.85

Calls 1

NewEncoderSizeFunction · 0.85

Tested by

no test coverage detected