INNER CODE UNIT · Go
main
shenwei356/rush · main.go:23
func main() {
// go tool pprof ./rush pprof
// f, _ := os.Create("pprof")
// pprof.StartCPUProfile(f)
// defer pprof.StopCPUProfile()
Execute()
// go tool pprof --alloc_space ./rush mprof
// f2, _ := os.Create("mprof")
// pprof.WriteHeapProfile(f2)
// defer f2.Close()
}