@@ -12,11 +12,11 @@ import com.squareup.benchmarks.performance.complex.poetry.PerformancePoetryActiv
1212import com.squareup.benchmarks.performance.complex.poetry.PerformancePoetryActivity.Companion.EXTRA_RUNTIME_FRAME_TIMEOUT
1313import com.squareup.benchmarks.performance.complex.poetry.cyborgs.landscapeOrientation
1414import com.squareup.benchmarks.performance.complex.poetry.cyborgs.openRavenAndNavigate
15- import com.squareup.benchmarks.performance.complex.poetry.cyborgs.resetToRootPoetryList
1615import com.squareup.benchmarks.performance.complex.poetry.cyborgs.waitForPoetry
1716import com.squareup.benchmarks.performance.complex.poetry.instrumentation.RenderPassCountingInterceptor
1817import org.junit.Assert.fail
1918import org.junit.Before
19+ import org.junit.Ignore
2020import org.junit.Test
2121import org.junit.runner.RunWith
2222
@@ -61,30 +61,37 @@ class RenderPassTest {
6161 runRenderPassCounter(COMPLEX_INITIALIZING , useFrameTimeout = false )
6262 }
6363
64+ @Ignore
6465 @Test fun renderPassCounterBaselineComplexNoInitializingState () {
6566 runRenderPassCounter(COMPLEX_NO_INITIALIZING , useFrameTimeout = false )
6667 }
6768
69+ @Ignore
6870 @Test fun renderPassCounterBaselineComplexNoInitializingStateHighFrequencyEvents () {
6971 runRenderPassCounter(COMPLEX_NO_INITIALIZING_HIGH_FREQUENCY , useFrameTimeout = false )
7072 }
7173
74+ @Ignore
7275 @Test fun renderPassCounterBaselineComplexNoInitializingStateSimultaneous () {
7376 runRenderPassCounter(COMPLEX_NO_INITIALIZING_SIMULTANEOUS , useFrameTimeout = false )
7477 }
7578
79+ @Ignore
7680 @Test fun renderPassCounterFrameTimeoutComplexWithInitializingState () {
7781 runRenderPassCounter(COMPLEX_INITIALIZING , useFrameTimeout = true )
7882 }
7983
84+ @Ignore
8085 @Test fun renderPassCounterFrameTimeoutComplexNoInitializingState () {
8186 runRenderPassCounter(COMPLEX_NO_INITIALIZING , useFrameTimeout = true )
8287 }
8388
89+ @Ignore
8490 @Test fun renderPassCounterFrameTimeoutComplexNoInitializingStateHighFrequencyEvents () {
8591 runRenderPassCounter(COMPLEX_NO_INITIALIZING_HIGH_FREQUENCY , useFrameTimeout = true )
8692 }
8793
94+ @Ignore
8895 @Test fun renderPassCounterFrameTimeoutComplexNoInitializingStateSimultaneous () {
8996 runRenderPassCounter(COMPLEX_NO_INITIALIZING_SIMULTANEOUS , useFrameTimeout = true )
9097 }
@@ -113,11 +120,9 @@ class RenderPassTest {
113120 }
114121
115122 InstrumentationRegistry .getInstrumentation().context.startActivity(intent)
116- device.waitForPoetry()
117123 device.waitForIdle()
118-
119- // Go back to root list so this is deterministic.
120- device.resetToRootPoetryList()
124+ device.waitForPoetry(10_000 )
125+ device.waitForIdle()
121126
122127 // Now reset for the actual counting.
123128 renderPassCountingInterceptor.reset()
@@ -251,7 +256,7 @@ class RenderPassTest {
251256 useHighFrequencyRange = false ,
252257 simultaneousActions = 0 ,
253258 baselineExpectation = RenderExpectation (
254- totalPasses = 56 .. 56 ,
259+ totalPasses = 54 .. 54 ,
255260 freshRenderedNodes = 83 .. 83 ,
256261 staleRenderedNodes = 605 .. 605
257262 ),
@@ -287,7 +292,7 @@ class RenderPassTest {
287292 staleRenderedNodes = 2350 .. 2350
288293 ),
289294 frameTimeoutExpectation = RenderExpectation (
290- totalPasses = 88 .. 97 , // On Pixel 6: 56..61
295+ totalPasses = 87 .. 97 , // On Pixel 6: 56..61
291296 freshRenderedNodes = 106 .. 108 ,
292297 staleRenderedNodes = 679 .. 698
293298 )
@@ -305,7 +310,7 @@ class RenderPassTest {
305310 staleRenderedNodes = 38919 .. 38919
306311 ),
307312 frameTimeoutExpectation = RenderExpectation (
308- totalPasses = 88 .. 97 , // on Pixel 6: 56..61,
313+ totalPasses = 88 .. 99 , // on Pixel 6: 56..61,
309314 freshRenderedNodes = 176 .. 180 ,
310315 staleRenderedNodes = 4690 .. 4700
311316 )
0 commit comments