profile

package
v0.0.0-...-776f117 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CPU

func CPU(profilePath string) (finish func(), err error)

CPU starts CPU profiling and saves the statistics into a file specified by profilePath. It overwrites the file if it already exists. To finalize profiling caller needs to call finish function returned.

func Heap

func Heap(profilePath string) (finish func(), err error)

Heap starts heap profiling and saves the statistics into a file specified by profilePath. It overwrites the file if it already exists. To finalize profiling caller needs to call finish function returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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