Re: [go-nuts] pprof where is my time going

2016-07-28 Thread ajay aggarwal
Apparently its very easy to collect execution tracer profile runtime.trace.Start (io.Writer) time.Sleep(N seconds) runtime.trace.Stop() And to analyze/look at the collected profile go tool trace /path/to/your/app/executable On Monday, July 25, 2016 at 5:47:19 PM UTC-4, ajay aggarwal wrote

Re: [go-nuts] pprof where is my time going

2016-07-25 Thread ajay aggarwal
Thanks Ian. But Its not clear how to get execution trace from that document (https://golang.org/s/go15trace). When I list profiles for my application, I get following list block,goroutine,heap,threadcreate And when I try to curl to http://my-app/debug/pprof/trace?seconds=30"; for my applicati

Re: [go-nuts] pprof where is my time going

2016-07-18 Thread ajay aggarwal
Sunday, July 17, 2016 at 6:40:34 PM UTC-4, Ian Lance Taylor wrote: > > On Sun, Jul 17, 2016 at 11:00 AM, ajay aggarwal > wrote: > > > > I am trying to analyze why I am getting low throughput for my app. Below > is > > the 30 second CPU profile output. I would ex

[go-nuts] pprof where is my time going

2016-07-17 Thread ajay aggarwal
Hello, I am trying to analyze why I am getting low throughput for my app. Below is the 30 second CPU profile output. I would expect more time spent in net/http serve. Not sure if runtime.mcall and runtime.schedule taking almost 1/4th of the time is concerning. When I did a "web mcall" it didn't