Closed cloverrose closed 5 years ago
Does anyone know it?
As for import of pprof, I think that it probably forgot to erase while debugging, so we will not provide pprof. Enabling pprof is not good for performance, so I think that we should erase or comment out it. If you want to use pprof you should debug yourself.
@kpango Thank you for your answer. I got it.
resolved by #23
pprof is imported in main.go L22. So I want to access pprof api via http request. But I cannot access it now.
In my knowledge we need call http.ListenAndServe, such that
Is it right ? Or ngtd already expose pprof http api ?