It can be hard to know where a performance issue lies and what code to start optimizing. Start by using tools to help narrow down where your issue is.
- Layout inspector: Use the layout inspector to inspect your layout and see recomposition counts.
- Tracing: Use composition tracing to trace your composable functions in a system trace.