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

Function BenchmarkDisabledTarget

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

Source from the content-addressed store, hash-verified

80}
81
82func BenchmarkDisabledTarget(b *testing.B) {
83 setUpTest(b, nil)
84 for i := 0; i < b.N; i++ {
85 General.Print("test")
86 }
87}
88
89func BenchmarkEnabledTarget(b *testing.B) {
90 setUpTest(b, nil)

Callers

nothing calls this directly

Calls 2

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…