[go-nuts] Re: question about Profiling Go Programs sample.

2021-09-29 Thread alex-coder
Hi >>I think this is expected you are experienced. >> Depending on what you're looking for, firstly, I want to learn how to use pprof properly and secondly, I even could not imagine that it is not my mistake or not using tool properly.. thank you so much.:-) среда, 29 сентября 2021 г. в 21:55:

Re: [go-nuts] Getting cross-package test coverage data?

2021-09-29 Thread twp...@gmail.com
Very, very, late response to this, but I was missing the `-coverpkg=./...` argument to `go test`. /facepalm On Thursday, May 14, 2020 at 10:46:43 AM UTC+2 ppi...@gmail.com wrote: > Not sure if a tool is required. > It can be done with a couple of commands. > An elaborate example (of coverage a

[go-nuts] Re: question about Profiling Go Programs sample.

2021-09-29 Thread Vladimir Varankin
Hey there, > I took runtime/cpuprof.go with version 1.4, where cpuprof.go just appeared with the same result. :-) I think this is expected. Go 1.4 was released in 2014 — several years after the original post about pprof, had been published. In fact, Go 1.4 is the version where the relevant p

[go-nuts] Re: question about Profiling Go Programs sample.

2021-09-29 Thread alex-coder
Vladimir, I took runtime / cpuprof.go with version 1.4, where cpuprof.go just