Random question: What does the Y axis in this UI e...
# ask-the-community
t
Random question: What does the Y axis in this UI element actually represent? It seems to relate to execution time but nowhere near the true scale.
k
It is execution time weighted relatively
Is that not what you see
t
Yes intuitively I see that but there are multiple orders of magnitude between those bars in our case.
Just wanted to understand how its actually weighted / if its some log scale
k
Cc @Jason Porter / @Frank Flitton can you share
@Tim Bauer interesting, what you expect is for it to look spiky - my goal is to find which one was way off
t
that second-most recent run took about 30 times as much wall clock time as any of the others on that graph that was what got us wondering 😄 But not a pressing issue more curiosity.
k
Hmm I would expect it to be one spike then - thank you for reporting
f
That was done intentionally, you can click the bar chart items to filter the table below. To avoid items too small to click the value for the chart uses Math.log2 to normalize the values, the chart then scales to the max of these normalized values. Flyte console -> https://github.com/flyteorg/flyteconsole/blob/master/packages/console/src/components/common/BarChart.tsx#L135 Math.log2 -> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/log2 Happy to adjust the scaling mechanism for accuracy's sake so long as its still clickable/filterable, eg. 20s vs 1 day in the same list. Maybe a min height and a percent scale between the two?