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

Function BenchmarkDecode4K

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

Source from the content-addressed store, hash-verified

151func BenchmarkDecode1K(b *testing.B) { benchmarkDecode(b, 1024) }
152func BenchmarkDecode2K(b *testing.B) { benchmarkDecode(b, 1024*2) }
153func BenchmarkDecode4K(b *testing.B) { benchmarkDecode(b, 1024*4) }
154func BenchmarkDecode16K(b *testing.B) { benchmarkDecode(b, 1024*16) }
155func BenchmarkDecode32K(b *testing.B) { benchmarkDecode(b, 1024*32) }
156func BenchmarkDecode128K(b *testing.B) { benchmarkDecode(b, 1024*128) }

Callers

nothing calls this directly

Calls 1

benchmarkDecodeFunction · 0.85

Tested by

no test coverage detected