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).
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).