MCPcopy Create free account
hub / github.com/dispatchrun/wzprof / BenchmarkCPUProfilerOff

Function BenchmarkCPUProfilerOff

cpu_test.go:18–21  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

16}
17
18func BenchmarkCPUProfilerOff(b *testing.B) {
19 p := ProfilingFor(nil).CPUProfiler()
20 benchmarkFunctionListener(b, p)
21}
22
23func TestCPUProfilerTime(t *testing.T) {
24 currentTime := int64(0)

Callers

nothing calls this directly

Calls 3

ProfilingForFunction · 0.85
CPUProfilerMethod · 0.80

Tested by

no test coverage detected