MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / Benchmark_parseKeyspace

Function Benchmark_parseKeyspace

rest/handler_test.go:150–155  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

148}
149
150func Benchmark_parseKeyspace(b *testing.B) {
151 b.ReportAllocs()
152 for i := 0; i < b.N; i++ {
153 _, _, _, _ = ParseKeyspace("d.s.c")
154 }
155}
156
157func TestShouldCheckAdminRBAC(t *testing.T) {
158 for _, requireInterfaceAuth := range []bool{false, true} {

Callers

nothing calls this directly

Calls 1

ParseKeyspaceFunction · 0.85

Tested by

no test coverage detected