profiling

package
v1.0.24 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: ISC Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTrackHeapLimit = 7
)

Variables

This section is empty.

Functions

func Start

func Start(port string)

Start starts the profiling server

func TrackHeap

func TrackHeap(cfg *config.Config)

TrackHeap tracks the size of the heap and dumps a profile if it passes a limit

func UseLogger

func UseLogger(logger l.Logger)

UseLogger uses a specified Logger to output package logging info.

Types

This section is empty.

Jump to

Keyboard shortcuts

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