github.com/stealthrocket/wzprof@v0.2.1-0.20230830205924-5fa86be5e5b3/mem_test.go (about)

     1  package wzprof
     2  
     3  import (
     4  	"testing"
     5  )
     6  
     7  func BenchmarkMemoryProfiler(b *testing.B) {
     8  	p := ProfilingFor(nil).MemoryProfiler()
     9  	benchmarkFunctionListener(b, p)
    10  }