eclipse-cdt-cloud / theia-trace-extension

Eclipse Theia trace viewer extension using the Trace Server Protocol (TSP), through the tsp-typescript-client. Also the home for reusable JavaScript libraries: traceviewer-base, traceviewer-react-components
MIT License
49 stars 60 forks source link

Towards reports and timeless views. #1091

Open MatthewKhouzam opened 2 months ago

MatthewKhouzam commented 2 months ago

Hi all,

We are looking as to how to display views where the X axis is another unit than time. Examples can be function density views and flame graphs.

In trace compass eclipse, they go everywhere and are thus... less guided in the UI/UX.

In the Theia extension, we have the opportunity to make something nicer. This is the first thing people tend to look at in investigations, we should consider this to be the first impression after the trace is open.

I do not want to bias this with my opinions too much, so I am putting this placeholder up in case anyone wants to have their voice heard in this specific field.

compudj commented 1 month ago

I'll use this opportunity to provide some feedback, some of which is based on our past experiments with lttng-scope.

Here is a rather disorganized desiderata list:

MatthewKhouzam commented 1 month ago

Thank you very much! This is the kind of feedback we're looking for.

I was thinking that we may want "gutters" or some kind of marker to differentiate the views, but also, maybe the non-time views should be non-interlaceable with the time views.

i.e.

Resource view flame graph Threads view Density IRQ latency

would be impossible.

Some items I though of that could be atemporal:

This is not a process that we can do overnight. We won't get it right, but we want it good enough to start to make the user experience pleasant.

ebugden commented 1 month ago

@MatthewKhouzam Would there be interest in mockups / graph sketches of how to display titles/labels/units? As in, is there time for doing more core changes to chart components/layout?


+1 Clarify difference between time-based and not time-based charts e.g. via no interlacability #650 +1 Clarify explanations of chart contents (descriptive title, units, axis labels) #647