react-native-performance-monitor icon indicating copy to clipboard operation
react-native-performance-monitor copied to clipboard

Breakdown by component?

Open JeremyBradshaw7 opened this issue 4 years ago • 1 comments

I may have missed something, but it seems the graph generated is a flat graph showing the rendering of all components you add the HOC to. I have a tree of components all registered, and I wanted to see that the chid components are rendered only when they should be, but with the flat graph it's very difficult to see this. We give each one a unique screen name so could you not use a different colour per name, or a way to filter the graph per name?

JeremyBradshaw7 avatar Oct 17 '21 11:10 JeremyBradshaw7

This is a massively out of date response but yes this is a good idea, though we'd have to think about how that's presented since this aims to be as simple to follow as possible. When I use this I often just attach it to the root since I'm trying to improve performance at the screen level by adjusting particular components or sections of the screen.

I wonder if it might be better to just have a different graph all together for each component you wrap (maybe in tabs) as I think having bars of unrelated components is just noise.

kyle-ssg avatar Feb 23 '22 12:02 kyle-ssg