1-2-animation: github.com/hashier/1-2-animation/profile Index | Files

package profile

import "github.com/hashier/1-2-animation/profile"

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


Package Files


func CPUProfile Uses

func CPUProfile(file string)

CPUProfile starts CPU profiling and save the result to file

func CPUProfileStop Uses

func CPUProfileStop()

CPUProfileStop stops CPU profiling

func MemProfile Uses

func MemProfile(file string)

MemProfile runs the GC and dump memory profile

Package profile imports 5 packages (graph) and is imported by 1 packages. Updated 2018-04-11. Refresh now. Tools for package owners.