MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / BenchmarkQuery

Function BenchmarkQuery

dgraph/cmd/alpha/run_test.go:880–885  ·  view source on GitHub ↗

TODO: This might not work. Fix it later, if needed.

(b *testing.B)

Source from the content-addressed store, hash-verified

878
879// TODO: This might not work. Fix it later, if needed.
880func BenchmarkQuery(b *testing.B) {
881 b.ResetTimer()
882 for i := 0; i < b.N; i++ {
883 processToFastJSON(q1)
884 }
885}
886
887// change from uid to scalar or vice versa
888func TestSchemaMutation4Error(t *testing.T) {

Callers

nothing calls this directly

Calls 1

processToFastJSONFunction · 0.85

Tested by

no test coverage detected