debug

package
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: MIT, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CpuPprof

func CpuPprof() func()

go tool pprof ./cpu.pprof

func MemPprof

func MemPprof(fun func()) func()

func Pprof

func Pprof(opt string) func()

func PrintMemoryUsage added in v0.3.0

func PrintMemoryUsage(flag any)

func PrintStack added in v0.3.0

func PrintStack(flag any)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL