Android Macrobenchmark 1.2.4: StartupMode.COLD breaks the benchmarks. Inside measure block UiAutomator can’t find any objects
I have added macrobenchmark module with StartupTimingMetric
and FrameTimingMetric
metrics long time ago and my setup was working fine. Since then I have not been running benchmarks due to some reasons. Recently, had time to go back and update the user flows and run the benchmarks again. But my FrameTimingMetric
benchmarks started to fail at step of running measureBlock
. UiAutomator
couldn’t find any object by resource id inside of measureBlock
but could see all of them in setupBlock
. I’m using Compose and necessary composables have testTag
added.
Android Macrobenchmark 1.2.4: StartupMode.COLD breaks the benchmarks. Inside measure block UiAutomator can’t find any objects
I have added macrobenchmark module with StartupTimingMetric
and FrameTimingMetric
metrics long time ago and my setup was working fine. Since then I have not been running benchmarks due to some reasons. Recently, had time to go back and update the user flows and run the benchmarks again. But my FrameTimingMetric
benchmarks started to fail at step of running measureBlock
. UiAutomator
couldn’t find any object by resource id inside of measureBlock
but could see all of them in setupBlock
. I’m using Compose and necessary composables have testTag
added.
Android Macrobenchmark 1.2.4: StartupMode.COLD breaks the benchmarks. Inside measure block UiAutomator can’t find any objects
I have added macrobenchmark module with StartupTimingMetric
and FrameTimingMetric
metrics long time ago and my setup was working fine. Since then I have not been running benchmarks due to some reasons. Recently, had time to go back and update the user flows and run the benchmarks again. But my FrameTimingMetric
benchmarks started to fail at step of running measureBlock
. UiAutomator
couldn’t find any object by resource id inside of measureBlock
but could see all of them in setupBlock
. I’m using Compose and necessary composables have testTag
added.