package
Version:
v0.0.0-...-45da7de
Opens a new window with list of versions in this module.
Published: Mar 25, 2024
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
profile
Simple profiling support package for Go, fork from github.com/pkg/profile
Documentation
¶
Specs specifies the profile settings by specifies expression.
like cpu,heap,allocs,mutex,block,trace,threadcreate,goroutine,d:5m,rate:4096.
func Start(options ...func(*Profile)) (interface{ Stop() }, error)
Start starts a new profiling session.
The caller should call the Stop method on the value returned
to cleanly stop profiling.
Profile represents an active profiling session.
Stop stops the profile and flushes any unwritten data.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.