Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProfileCPUStart ¶
Executes pprof cpu profiler and saves result to cpu.prof in project root. Profiling is stopped by calling ProfileCPUStop() . Example:
func ProfileMe() { p := log.ProfileCPU() defer ProfileCPUstop(p) ... regular code starts here }
func ProfileMem ¶
func ProfileMem()
Executes pprof memory profiler and saves result to mem.prof in project root.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.