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 operating system and processor architecture are you using?
OS X 10.14, x86_64
What did you do?
I was hoping to visualize the differences between two profiles as a differential flamegraph with something like:
go run github.com/google/pprof -http localhost:8080 -diff_base A.pb.gz B.pb.gz
What did you expect to see?
A flamegraph with colors that indicate relative changes between the two profiles.
What did you see instead?
Nothing, the flamegraph view errors out with TypeError: null is not an object (evaluating 'd.c') in flamegraph:6021.
The other view types (e.g. Top, Graph, Peek) seem to work and display percent differences/colors. I haven't looked into how difficult it would be but am interested if you would consider a patch to this effect.
The text was updated successfully, but these errors were encountered:
This is a good feature request. It's a bit tricky for two reasons.
First, pprof represents profile comparison by subtracting one profile from the other; flame graphs don't really work with negative values -- to show the diff, one would have to take pprof's profile representation, separate out the samples in the main and diff profile, and then create the flame graph showing the profile comparison using the separated main and diff profile.
Next, pprof's wed UI does not currently have tests (#208). Since any change to show diffs in the flame graph would likely involve large changes to the web UI, it would be nice to get continuous testing for the web UI set up first.
What version of pprof are you using?
master (236ed25)
What operating system and processor architecture are you using?
OS X 10.14, x86_64
What did you do?
I was hoping to visualize the differences between two profiles as a differential flamegraph with something like:
go run github.com/google/pprof -http localhost:8080 -diff_base A.pb.gz B.pb.gz
What did you expect to see?
A flamegraph with colors that indicate relative changes between the two profiles.
What did you see instead?
Nothing, the flamegraph view errors out with
TypeError: null is not an object (evaluating 'd.c') in flamegraph:6021
.The other view types (e.g. Top, Graph, Peek) seem to work and display percent differences/colors. I haven't looked into how difficult it would be but am interested if you would consider a patch to this effect.
The text was updated successfully, but these errors were encountered: