Re: [go-nuts] CPU profiling with pprof

2019-09-09 Thread Ian Lance Taylor
On Fri, Sep 6, 2019 at 8:36 PM Vincent Blanchon wrote: > > 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://g

[go-nuts] CPU profiling with pprof

2019-09-06 Thread Vincent Blanchon
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