Last Comment Bug 1123495 - Flame chart / flame graph toggle
: Flame chart / flame graph toggle
Status: NEW
:
Product: Firefox
Classification: Client Software
Component: Developer Tools: Performance Tools (Profiler/Timeline) (show other bugs)
: unspecified
: All All
P3 normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
: Greg Tatum [:gregtatum] [@gregtatum]
Mentors:
: 1153492 (view as bug list)
Depends on: 1153492
Blocks: 1169877
  Show dependency treegraph
 
Reported: 2015-01-19 16:20 PST by Brendan Gregg
Modified: 2016-03-18 09:42 PDT (History)
4 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description User image Brendan Gregg 2015-01-19 16:20:15 PST
Summary: when visualizing profiles, provide a toggle to switch between flame charts (time-ordered) and flame graphs (alphabet-ordered). This was mentioned in bug 1077444.

Details:

The time-ordered visualization solves many problems: it shows very slow code paths, and time-based patterns.

However, faster and changing code paths may be rendered as thin icicles, without enough horizontal space to draw the function names. Understanding this profile requires the user to zoom. This can be both time consuming, and the user can lose notion of the big picture.

For these cases, by switching the x-axis sort order from time-based to alphabetical for the stack (origin to leaf, which in the icicle plot is top-down), all thin icicles of the same code path are merged. This allows a quick visual appreciation for where time is spent, at the sacrifice of time-ordered patterns. The alphabetical sort is called a "flame graph" (http://www.slideshare.net/brendangregg/blazing-performance-with-flame-graphs/35).

Such flame graphs have been used to identify subtle performance differences, including for non-regression testing. This visualization also lends itself to the interpretation: the most important functions are the ones you can read (infrequent ones are so narrow the text is elided). Flame graphs can also be emailed as PNGs, shown in slides, printed in books, etc, retaining function names for the most frequent code paths.
Comment 1 User image Victor Porof [:vporof][:vp] 2016-03-18 08:07:23 PDT
Triaging. Filter on ADRENOCORTICOTROPIC (yes).
Comment 2 User image Victor Porof [:vporof][:vp] 2016-03-18 09:42:55 PDT
*** Bug 1153492 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.