You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What did you do?
I'm trying to profile my benchmark memory usage with pprof.
cd$GOPATH/src/github.com/ernado/sdp
go version
go test -bench BenchmarkDecoder_Decode -memprofile=mem.out -o sdp.test
go tool pprof -alloc_space -top sdp.test mem.out
I've created repo that runs this commands in docker container for go 1.6 and 1.7 to isolate enviroment and make it easy to reproduce: https://github.com/ernado/go-no-bench
To use it, just run make.
I've also uploaded docker images to registry.
On 1.6 it works OK.
What did you expect to see?
This is output of docker run -it --rm ernado/sdp-reproduce:1.6
It works on go version devel +1a3e4f0 Tue May 17 14:55:14 2016 +0000 linux/amd64.
I'm going to bisect version later if nobody will do it faster than me.
go version
)?go version go1.7beta2 linux/amd64
go env
)?I'm trying to profile my benchmark memory usage with pprof.
I've created repo that runs this commands in docker container for go 1.6 and 1.7 to isolate enviroment and make it easy to reproduce:
https://github.com/ernado/go-no-bench
To use it, just run
make
.I've also uploaded docker images to registry.
On 1.6 it works OK.
This is output of
docker run -it --rm ernado/sdp-reproduce:1.6
And this is
docker run -it --rm ernado/sdp-reproduce:1.7
:The text was updated successfully, but these errors were encountered: