listOf(StartupTimingMetric()), compilationMode = CompilationMode.Partial(BaselineProfileMode.Require), iterations = 10, startupMode = StartupMode.COLD, setupBlock = { pressHome() }, measureBlock = { startActivityAndWait() device.wait(Until.hasObject(By.res("movieImage")), 2_000) } ) } How To? Test