Unit tests can prove that a ViewModel returns the right state, but they cannot measure the latency and frame behavior a user experiences across a sequence of screens and a real application process. To understand real-world responsiveness, you need to use Macrobenchmark with UI Automator to drive...

Source: [Dev.to](https://dev.to/raylabs/benchmark-android-user-journeys-with-macrobenchmark-1j72)

Sponsored