(Sorry for the noise.)

Hi Juliusz, this tool go-tool-trace-greediest-goroutines
<https://github.com/hnes/go-tool-trace-greediest-goroutines>would be
helpful.(
may also refer the issue 20792 <https://github.com/golang/go/issues/20792>)

All best

-- Sen

On Sun, Sep 17, 2017 at 9:12 PM, Juliusz Chroboczek <j...@irif.fr> wrote:

> Hi,
>
> I've got a CPU-bound function that is not called very frequently, and
> hence doesn't appear prominently in the CPU profile, but I'm guessing
> that it takes a significant time to run (on the order of tens of
> milliseconds), and hence increases the latency of the calling goroutine.
>
> I don't see anything in pprof to give the average and maximum time spent
> in a given function, let alone to get the list of functions that have
> the highest maximum CPU time per invocation.  Not a big deal, I'm going
> to instrument the function manually, but I'm wondering if I'm missing
> something.
>
> Thanks,
>
> -- Juliusz
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to