Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartCPUProfile ¶
func StartCPUProfile() func()
You can view the cpu profile file with `go tool pprof codetalks-cpu.prof` or visualize it on website like https://www.speedscope.app/
func StartMemoryProfile ¶
func StartMemoryProfile() func()
You can view the memory profile file with `go tool pprof codetalks-mem.prof` or visualize it on website like https://www.speedscope.app/
func StartTrace ¶
func StartTrace() func()
You can view the trace file with `go tool trace codetalks-trace.prof`
Types ¶
Click to show internal directories.
Click to hide internal directories.