package
0.0.0-20231208061952-f10d33120ced
Repository: https://github.com/liguoqinjim/go-labs.git
Documentation: pkg.go.dev

# README

runtime/pprof

  1. go build,生成可执行文件
  2. lab002.exe -cpuprofile=lab002.prof,运行并生成prof文件
  3. 读取prof文件,go tool pprof lab002.exe lab002.prof

参考资料