Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
86
func
newBenchmarkEncoder(n int) *Encoder {
87
return
NewEncoderSize(ioutil.Discard, 1024*128)
88
}
89
90
func
benchmarkEncode(b *testing.B, n int) {
91
multi := []*Resp{
Callers
1
benchmarkEncode
Function · 0.85
Calls
1
NewEncoderSize
Function · 0.85
Tested by
no test coverage detected