Skip to content

Stack graph usage in the timeline after the activity graph with CPU usage #3150

Description

@canova

After we are done with changing the activity graph to have height depending on the CPU usage of the thread, we are not going to need the stack graph too much. Also we believe that having two radio buttons for different graphs are a bit confusing for the users. It would be great if we can find a better solution.

We've discussed this in our weekly team meeting, and we've came up with a plan for the future use of the stack graph. For some cases we are going to remove it, but for other cases like importers, we are going to keep them.

So, the end goal is:

  • If the profile includes CPU usage values:
    • Don't show the radio buttons and only present the activity graph in the timeline.
      If people really need to look at the stack heights, they can still find it on the Stack Chart panel.
  • If the profile doesn't include CPU usage values:
    • If threads have category information:
      • Show the activity graph.
    • If threads don't have the category information (e.g. linux perf and instruments imports):
      • Show the stack graph directly because activity graph will just be a block of gray area without an insight.

Let me know what you think!

Metadata

Metadata

Assignees

Labels

timelineIssues related to the header timeline view

Type

No type

Priority

None yet

Jira

None yet

Severity

None yet

Estimate

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions