profile

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package profile provides functions to start/stop profiling of go apps

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CPUProfile

func CPUProfile(file string)

CPUProfile starts CPU profiling and save the result to file

func CPUProfileStop

func CPUProfileStop()

CPUProfileStop stops CPU profiling

func MemProfile

func MemProfile(file string)

MemProfile runs the GC and dump memory profile

Types

This section is empty.

Jump to

Keyboard shortcuts

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