Add the case of reused widgets for LauncherAnimationsTest
The LauncherAnimationsTest measures the performance for one-shot action. Recently the app-list widget will remain and be reused once created for the performance reason, but the existing one-shot scenario doesn't capture it properly. This CL adds new test scenarios which opens and closes the app-list in prior to the actual test scenario, so that we can measure the performance on both one-shot and reused. Here's the performance on 5 runs in nocturne:nocturne: one-shot Fullscreen: 13, 13, 13, 13, 13 Close: 79, 79, 39, 79, 73 Peeking: 58, 33, 49, 49, 33 Close: 100, 100, 100, 100, 91 Half: 33, 49, 33, 41, 41 Close: 58, 100, 91, 83, 100 FullscreenSearch: 46, 66, 59, 86, 66 Close: 79, 100, 93, 93, 93 reused Fullscreen: 66, 59, 59, 59, 66 Close: 93, 100, 100, 100, 93 Peeking: 83, 83, 91, 100, 74 Close: 100, 100, 100, 100, 100 Half: 74, 91, 91, 83, 91 Close: 100, 100, 100, 100, 100 FullscreenSearch: 86, 93, 93, 86, 86 Close: 93, 86, 93, 100, 86 So this CL reveals that the reusing improves the appearing animation smoothness. Fullscreen-app-apps isn't still ideal, but the numbers aren't bad. Bug: 961467 Test: cros_run_test on nocturne Change-Id: I69907f9c70b3dec3655b873ddcbe5611ab3432a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1639558Reviewed-by:Mitsuru Oshima <oshima@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Reviewed-by:
Alex Newcomer <newcomer@chromium.org> Commit-Queue: Jun Mukai <mukai@chromium.org> Cr-Commit-Position: refs/heads/master@{#665942}
Showing
Please register or sign in to comment