Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/pprof: svg profiles are broken for rpc services #14014
go version devel +c7754c8 Tue Jan 19 06:20:36 2016 +0000 linux/amd64
SVG profile for my program shows:
You can see that as if reflect.Value.call directly allocates a lot. This does not make sense.
In text profile I see records that are probably these reflect.Value.call allocations. But in SVG they are trimmed at reflect.Value.call. RPC servers can allocate most of its memory during request serving, so this is pretty unfortunate.