Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternate visualizations for callers / callees trees (sandwich or butterfly) #108

Open
bric3 opened this issue Sep 7, 2022 · 1 comment · May be fixed by #162
Open

Alternate visualizations for callers / callees trees (sandwich or butterfly) #108

bric3 opened this issue Sep 7, 2022 · 1 comment · May be fixed by #162

Comments

@bric3
Copy link
Owner

bric3 commented Sep 7, 2022

Ideas about visualizing callers / callees in the same graph with a sandwich or butterfly view

  • JMC-6872, that hints about a butterfly view to display predecessors / successors.

    See https://github.com/jlfwong/speedscope#-sandwich

    image

    The Sandwich view is a table view in which you can find a list of all functions and their associated times. You can sort by self time or total time. It's called "Sandwich" view because if you select one of the rows in the table, you can see flamegraphs for all the callers and callees of the selected row.

  • Go’s pprof tool recently gained a view for viewing simultaneously method callers and callees.

    Basically it has the look of the flame graph, but works kind of like the call graph view.

    image

    More informations are in the commit message.

@bric3
Copy link
Owner Author

bric3 commented Dec 21, 2022

Here's another implementation of the sandwich view

https://flamegraph.com/share/06546e38-7fb1-11ed-8f0a-2e66ed2aba6c

image

@bric3 bric3 changed the title Alternate visualizations for callers / callees trees Alternate visualizations for callers / callees trees (sandwich or butterfly) Dec 21, 2022
@bric3 bric3 linked a pull request Apr 7, 2023 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant