(b *testing.B)
| 10 | ) |
| 11 | |
| 12 | func BenchmarkCPUProfilerOn(b *testing.B) { |
| 13 | p := ProfilingFor(nil).CPUProfiler() |
| 14 | p.StartProfile() |
| 15 | benchmarkFunctionListener(b, p) |
| 16 | } |
| 17 | |
| 18 | func BenchmarkCPUProfilerOff(b *testing.B) { |
| 19 | p := ProfilingFor(nil).CPUProfiler() |
nothing calls this directly
no test coverage detected