Skip to content

Conversation

@ivonastojanovic
Copy link
Contributor

Introduce an inverted flamegraph view that aggregates all leaf nodes. In a standard flamegraph, if a hot function is called from multiple locations, it appears multiple times as separate leaf nodes. In the inverted flamegraph, all occurrences of the same leaf function are merged into a single aggregated node, showing the total hotness of that function in one place.

In this inverted view, the children of each aggregated hot function represent its callers, the functions that led to that leaf in the original call tree.

Standard flamegraph:
image

Inverted flame graph:
image

Introduce an inverted flamegraph view that aggregates all leaf
nodes. In a standard flamegraph, if a hot function is called
from multiple locations, it appears multiple times as separate
leaf nodes. In the inverted flamegraph, all occurrences of the
same leaf function are merged into a single aggregated node,
showing the total hotness of that function in one place.

In this inverted view, the children of each aggregated hot
function represent its callers, the functions that led to that
leaf in the original call tree.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants