MCPcopy Index your code
hub / github.com/devfeel/mapper / BenchmarkObjectGetFieldNameWithElem

Function BenchmarkObjectGetFieldNameWithElem

mapper_object_test.go:114–119  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

112}
113
114func BenchmarkObjectGetFieldNameWithElem(b *testing.B) {
115 m := NewMapper()
116 for i := 0; i < b.N; i++ {
117 m.GetFieldName(testValue.Elem(), 0)
118 }
119}
120
121func Test_Object_CheckExistsField(t *testing.T) {
122 m := NewMapper()

Callers

nothing calls this directly

Calls 2

NewMapperFunction · 0.85
GetFieldNameMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…