Discover Packages
github.com/ma-tf/ogle
internal
profiling
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: May 30, 2026
License: AGPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package profiling provides one-shot pprof dump commands for runtime
diagnosis of goroutine, heap, and CPU performance.
DumpAllCmd returns a Cmd that collects a CPU profile for the given duration
(if > 0), then writes goroutine and heap profiles to timestamped .pb.gz files
in the current directory.
ProfilesDumped is delivered by DumpAllCmd with the paths of written profile files.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.