Feature Request: Group similar stacks

Open
#25 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, typescript

Research direction

Start by locating the flame stack data processing and the existing UI for displaying stacks. Determine how to group stacks by their top frame or two and how the optional view should expose the resulting hotspots. Done means similar stacks form shared plateaus and the existing UI can show the grouped result optionally.

Written by the indexing model from the issue text.

Description

Often the top frame or two is shared among several otherwise-unique stacks, due to different code paths, inlining, etc.

This ends up making various plateaus smaller than they could be, making problem areas harder to spot.

I've long thought about writing a script that filters out all but the top frame or two, and uses that to generate a list of hotspots. It seems like this could be a fairly easy addition to flame, from a data perspective, and the existing UI is almost enough to show this (optionally).

Dominant language
TypeScript
Stars
38
Forks
3
Avg merge
30m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from platformatic/react-pprof

All issues in platformatic/react-pprof

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.