MCPcopy Create free account
hub / github.com/buger/jsonparser / BenchmarkParsePath

Function BenchmarkParsePath

path_compiler_test.go:292–298  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

290}
291
292func BenchmarkParsePath(b *testing.B) {
293 for i := 0; i < b.N; i++ {
294 if _, err := ParsePath("users[0].profile.name"); err != nil {
295 b.Fatal(err)
296 }
297 }
298}

Callers

nothing calls this directly

Calls 1

ParsePathFunction · 0.85

Tested by

no test coverage detected