react-native-performance-monitor
react-native-performance-monitor copied to clipboard
Breakdown by component?
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?
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.