profiling

package
v0.0.0-...-cf7e68b Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package profiling is a small package for profiling.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProfileMem

func ProfileMem(memProfile *string, tag string) error

ProfileMem Profile Memory

func StartCPUProfiling

func StartCPUProfiling(cpuProfile *string) []error

StartCPUProfiling Start CPU Profiling

func StopCPUProfiling

func StopCPUProfiling(cpuProfile *string)

StopCPUProfiling Stop CPU Profiling

func TimeElapsed

func TimeElapsed(msg string) func(a ...TimeElapseWriter)

TimeElapsed TimeElapsed Time, call with a defer

Types

type TimeElapseWriter

type TimeElapseWriter func(string)

TimeElapseWriter Time Elapse Writer

Jump to

Keyboard shortcuts

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