How to measure screen rendering time in Compose and XML?

Viewed 34

I have 2 similar apps in Compose and XML. XML is using single activity and fragments for each screen. Compose using one activity and composable screens and navigation using Navigation Component for Compose.

I want to measure performance in this apps. I need to measure somehow first start time and time from opening to rendering first frame of each screen. I tried to find something and met some articles on Medium but their more about results and not about how to setup something for measurement

1 Answers
Related