MCPcopy
hub / github.com/go-git/go-git / BenchmarkEnabledTarget

Function BenchmarkEnabledTarget

utils/trace/trace_test.go:89–95  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

87}
88
89func BenchmarkEnabledTarget(b *testing.B) {
90 setUpTest(b, nil)
91 SetTarget(General)
92 for i := 0; i < b.N; i++ {
93 General.Print("test")
94 }
95}

Callers

nothing calls this directly

Calls 3

SetTargetFunction · 0.85
PrintMethod · 0.80
setUpTestFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…