Re: [go-nuts] How to do "frame" based profiling in GO?

2020-06-26 Thread Michael Nischt
Hi, thanks for the quick reply. I tried that but I fear I don't really understand the API/tools for that. What I did was wrapping the update function called every frame like that: func profUpdate(update func(time.Duration), frame *uint64) func(time.Duration) { return func(time.Duration) {

Re: [go-nuts] How to do "frame" based profiling in GO?

2020-06-26 Thread Robert Engels
You want to use pprof “labels” and mark the frames. > On Jun 26, 2020, at 1:35 PM, michael.nis...@gmail.com wrote: > >  > Hello, > > I'm trying to figure out how to do "frame" based profiling in GO and was > redirect to this mailing--list from the `r/golang` sub (topic). Would be > amazing

[go-nuts] How to do "frame" based profiling in GO?

2020-06-26 Thread michael . nischt
Hello, I'm trying to figure out how to do "frame" based profiling in GO and was redirect to this mailing--list from the `r/golang` sub (topic ). Would be amazing if anyone here can help. In short: I