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

Function BenchmarkDecode2K

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

Source from the content-addressed store, hash-verified

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) }
155func BenchmarkDecode32K(b *testing.B) { benchmarkDecode(b, 1024*32) }

Callers

nothing calls this directly

Calls 1

benchmarkDecodeFunction · 0.85

Tested by

no test coverage detected