KEMBAR78
Flame Graph: alt+click to remove stacks · Issue #896 · async-profiler/async-profiler · GitHub
Skip to content

Flame Graph: alt+click to remove stacks #896

@apangin

Description

@apangin

Background

When analyzing profiles, especially wall-clock flame graphs, some uninteresting stacks often dominate in the profile, making it hard to analyze smaller important flames.

One possible solution is to exclude selected methods from the profile at the collection phase or during conversion using --exclude option. This is not very convenient and involves a lot of manual work.

Proposal

Implement a feature to remove uninteresting stacks right from the Flame Graph UI.
Alt+Click on a frame removes the entire stack containing this frame and all its children from a flame graph, adjusting width of the remaining stacks accordingly.

Example

f1

After removing 3 stacks:

f2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions