Priority: P2: Important
Affects Version/s: None
Fix Version/s: None
Component/s: FlameGraph & Timeline
The "expanded" state of the timeline categories is useless most of the time. It's supposed to show a breakdown of different event types. However, there are some serious problems with this approach:
- The list of event types can be very long. A complex program can easily contain on the order of 10000 different functions or code locations. Navigating this in the timeline makes no sense.
- The ability to resize a row is currently tied to the "expanded" state because the labels on the left are only shown in expanded state. The labels again expose the handles to resize the rows. This is unfortunate. At least the handles should always be shown.
- The expanded state renders slower than the collapsed state as the events are generally spread across more rows which means more separate blocks of geometry to be uploaded to the GPU.
- The geometry for the timeline is currently the most memory intense piece of data being created per trace. The expanded state duplicates that.