Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
89
func
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
SetTarget
Function · 0.85
Print
Method · 0.80
setUpTest
Function · 0.70
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…