I can not speak to your specific issues, but I would point out that the 
link you referenced as  "the documentation of the profiling", is not the 
technical documentation. It is simply an informative blog post. It was also 
written in 2011 and last updated in 2013. Given those two things, I would 
not be surprised if it was out of date. 

On Friday, September 6, 2019 at 11:36:40 PM UTC-4, Vincent Blanchon wrote:
>
> Hi,
>
> The documentation of the profiling (
> https://blog.golang.org/profiling-go-programs) explains that: "Go program 
> stops about 100 times per second".
> However, in the code, I could see that the collector has a sleep of 100ms 
> https://github.com/golang/go/blob/master/src/runtime/pprof/pprof.go#L779. 
> Therefore, it collects data only 10 times per second?
> Also, it does not stop the program since it is a separated goroutine 
> https://github.com/golang/go/blob/master/src/runtime/pprof/pprof.go#L764.
>
> Did I miss something here?
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/77de1cbb-30d8-4a5e-bf80-0ec2011a0bc5%40googlegroups.com.

Reply via email to