Assigned
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 29e2eac3b877b27e7cf8e541079e2e3a771f8047
Author: Chris Craik <ccraik@google.com>
Date: Tue May 03 12:55:38 2022
Remove default 300ms delay from pressHome
Bug: 231322975
Test: TrivialStartupBenchmark
This reduces cost from 2s -> 1.7s (Pixel4XL)
Change-Id: I6d0bf28e8d3dd170ba7e0d74f61701f43c0ae6dc
M benchmark/benchmark-macro/src/main/java/androidx/benchmark/macro/MacrobenchmarkScope.kt
https://android-review.googlesource.com/2086030
Branch: androidx-main
commit 29e2eac3b877b27e7cf8e541079e2e3a771f8047
Author: Chris Craik <ccraik@google.com>
Date: Tue May 03 12:55:38 2022
Remove default 300ms delay from pressHome
Bug: 231322975
Test: TrivialStartupBenchmark
This reduces cost from 2s -> 1.7s (Pixel4XL)
Change-Id: I6d0bf28e8d3dd170ba7e0d74f61701f43c0ae6dc
M benchmark/benchmark-macro/src/main/java/androidx/benchmark/macro/MacrobenchmarkScope.kt
Description
Sample trace (with additional tracing added):https://ui.perfetto.dev/#!/?s=74491e3973b46298acdc3fa388daff5a6923a713772b142acd15239d
1.7 seconds of this is
device.pressHome()