Layout inspector

You can use the layout inspector to check how often a composable is recomposed or skipped.

Get recomposition counts

If your UI has poor performance, this is often because of a coding error that forces your UI to be recomposed excessively. On the other hand, some coding errors can prevent your UI from being recomposed when it needs to be, which means UI changes aren't showing up on the screen. Tracking recompositions can help find both of these kinds of problems.

Recomposition in itself is not bad; however, unexpected recomposition can be an issue.

For more information, see the layout inspector recomposition counts documentation.