debugpprof

package
v1.1.62 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultAddr keeps debug profiling local-only by default.
	DefaultAddr = "127.0.0.1:6060"
	// AddrEnv overrides the debug pprof listen address.
	AddrEnv = "VIBECODING_PPROF_ADDR"
)

Variables

This section is empty.

Functions

func Start

func Start() (addr string, startedNow bool, err error)

Start starts the pprof HTTP server once per process.

func StartForDebug

func StartForDebug(w io.Writer)

StartForDebug starts pprof and prints the endpoint when it starts.

Types

This section is empty.

Jump to

Keyboard shortcuts

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