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

Function BenchmarkDecode1K

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

Source from the content-addressed store, hash-verified

149func BenchmarkDecode64B(b *testing.B) { benchmarkDecode(b, 64) }
150func BenchmarkDecode512B(b *testing.B) { benchmarkDecode(b, 512) }
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) }

Callers

nothing calls this directly

Calls 1

benchmarkDecodeFunction · 0.85

Tested by

no test coverage detected