0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

add profiling lines

This commit is contained in:
Zack Scholl 2019-11-11 11:26:32 -08:00
parent bdb8bf3ac4
commit acd7d8d8ec

View file

@ -12,6 +12,8 @@ import (
) )
func main() { func main() {
// "github.com/pkg/profile"
// defer profile.Start(profile.CPUProfile).Stop()
if err := cli.Run(); err != nil { if err := cli.Run(); err != nil {
fmt.Println(err) fmt.Println(err)
} }