[go-nuts] Re: profiling webserver with pprof and router middleware

2017-12-02 Thread skaldendudler
I finally found the problem!!! Since I am using a custom mux, I needed to register the pprof handler funcs to my custom router router.HandlerFunc(http.MethodGe

[go-nuts] Re: profiling webserver with pprof and router middleware

2017-12-01 Thread skaldendudler
Specifically, I wanted to see heap allocations generated by incoming requests, so I can optimize my handler functions I will write a more basic webserver example to see if I can produce the result I am expecting Am Donnerstag, 30. November 2017 14:39:56 UTC+1 schrieb Karan Chaudhary: > > Attach

[go-nuts] Re: profiling webserver with pprof and router middleware

2017-11-29 Thread skaldendudler
Does noone have an idea? :( Am Montag, 27. November 2017 13:37:43 UTC+1 schrieb basti skalendudler: > > The go tool pprof command is interactive, so I thought it is enough type > 'png' to get the image after the benchmark is run > > I tested to start go tool pprof now as well during and after the

[go-nuts] Re: profiling webserver with pprof and router middleware

2017-11-27 Thread skaldendudler
The go tool pprof command is interactive, so I thought it is enough type 'png' to get the image after the benchmark is run I tested to start go tool pprof now as well during and after the benchmark -> nothing changes Am Montag, 27. November 2017 04:37:48 UTC+1 schrieb Karan Chaudhary: > > From

[go-nuts] Re: Python ⇒ Go Cheatsheet

2017-11-25 Thread skaldendudler
Nice! Pretty helpful, thanks for that Am Samstag, 25. November 2017 09:39:56 UTC+1 schrieb Miki Tebeka: > > Hi, > > To help Python people switching to Go I've created a cheatsheet - > https://www.353.solutions/py2go/index.html > > Hope you'll find it useful, comment and bug reports are welcomed -

[go-nuts] profiling webserver with pprof and router middleware

2017-11-25 Thread skaldendudler
Hey guiys, I posted a StackOF question two days ago, but so far nobody was able to help me! I am trying to profile my web server I wrote, but my pprof does not contain any data about the handler func. I am using the httprouter package by juliensch