-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add data transformations for post-processing plot data #226
Conversation
… sorting not reflected in bokeh graph.
Seems there is some issue as updated the filters as per this branch while w.r.t. main branch that was working at least. Here the perflogs w.r.t. a app and a tag has been attached for your perusal (that seems OK at my end too @pineapple-cat). Here is the config:
But as we use the data from all the apps |
There might be a bug in series scaling. In SiWeakScaling.log with title: Si Weak Scaling
x_axis:
value: "num_cores"
units:
custom: null
y_axis:
value: "Runtime_value"
units:
column: "Runtime_unit"
series: [["num_threads",1],["num_threads",2],["num_threads",4],["num_threads",8]]
filters:
and: []
or: []
column_types:
num_cores: "int"
num_threads: "int"
Runtime_value: "float"
Runtime_unit: "str" When I add scaling of the y-axis by the first series, scaling:
column:
name: "Runtime_value"
series: 0 If I've understood correctly, each x value should get divided by the corresponding x value in the The value of the |
I still can't replicate exactly what's going wrong with Asif's example, but the scaling issue Tuomas found was caused by a Edit: I've figured out how to more-or-less replicate the first problem. It appears to also be related to dataframe sorting in some way, so I'll continue to investigate now that I have a lead. Edit 2: Problem fixed by moving sorting before filtering to avoid filter mask interference.
|
Thanks @pineapple-cat for the fix and now we may see the plot look like: Still wonder, how to order w.r.t. series rather x-axis? Here is below an example to give a quick look at the perflogs data:
Above code will generate a browser viewable pivottablejs.html file (and above similar Sphng Single Node data w.r.t. 20230707, 20231013, 20231124 job completion times will look like grouped+ordered as shown below): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation makes sense to me. A couple of suggestions:
- It might be easier to understand if the examples were in figures instead of tables.
- Instead of A note on X I would just have X as the subtitle.
While playing with Asif's logfiles, I noticed one more bit of odd behaviour. When I use the full datetime as the x axis, the series don't get sorted by num_tasks_per_node
(or rather, it looks like they are ordered by the x axis value of the first element in the series).
If I drop the time from the datetimes, so that my series get grouped together on the x axis, I get the series sorted by numerica value of num_tasks_per_node
in the legend, but in the plot they seem sorted by the string representation of num_tasks_per_node
(ie. 8
is the last entry)
Is this a bug or a feature?
Should we include some general formatting options in the config file? Something to think about for future. Things I always end up hacking by hand include
- orientation of the x axis labels
- export to png
Addresses #183 and #205.