I am trying to understand the hierarchy view.
So I was reading on developer.android.com the meaning of the three dots :
Green: For this part of the render time, this View is in the faster 50% of all the View objects in the tree. For example, a green dot for the measure time means that this View has a faster measure time than 50% of the View objects in the tree.
Yellow: For this part of the render time, this View is in the slower 50% of all the View objects in the tree. For example, a yellow dot for the layout time means that this View has a slower layout time than 50% of the View objects in the tree.
Red: For this part of the render time, this View is the slowest one in the tree. For example, a red dot for the draw time means that this View takes the most time to draw of all the View objects in the tree.
If I'm not mistaken, doesn't that mean that there should always be at most 3 views with red dots (the slowest views for each category : measure, layout, draw), and then half of views yellow and half green.
First of all I see more than 3 views with red dots and I don't understand why.
Second, I don't see how these values can help improve performance considering that these are relative values. There will always be half of the views faster than the other half.
And looking at the Tree View I am seeing views with visibility gone
that have a small draw time. Shouldn't GONE views be completely ignored?