Profiling goroutines

95 views
Skip to first unread message

Peter Bočan

unread,
Sep 3, 2021, 4:19:55 PM9/3/21
to golang-nuts
Hey guys,

I am trying to get a full picture using a pprof of a highly paralelised binary (read many goroutines doing stuff) but I am struggling to find any information on this topic - I think what I am seeing at the moment is just a single goroutine/main thread in the web UI that the tool provides.

Is there more information on how to obtain a bigger picture that may contain more info (although thinking about it, it may be too much info) ?

Kindly,
Peter.

Robert Engels

unread,
Sep 3, 2021, 7:43:45 PM9/3/21
to Peter Bočan, golang-nuts

It has some nice enhancements for dealing with highly concurrent programs. 

On Sep 3, 2021, at 3:20 PM, Peter Bočan <peppy...@gmail.com> wrote:

Hey guys,
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/6beb43d9-bb32-49d2-b8b5-168c41cc1be4n%40googlegroups.com.

Alex Besogonov

unread,
Sep 3, 2021, 10:27:53 PM9/3/21
to golang-nuts
Use pprof labels to mark goroutines. This provides way more context than anonymous goroutine IDs.
Reply all
Reply to author
Forward
0 new messages