summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-12-12 14:22:51 +0000
committer Riddle Hsu <riddlehsu@google.com> 2022-12-14 12:21:22 +0000
commit69a9eb0aa133bb0d242f864b42792532f78690b7 (patch)
tree6f6a1283f1ce873744e9739b3387b4da1895c249 /libs/androidfw/StringPool.cpp
parentb29e4dc3a30723aa075227735f0a3684a39ce353 (diff)
Eliminate non interested parts of content capture perf test
The ActivityTestRule#launchActivity uses startActivitySync, that will wait until the enter animation is finished. So the metrics are usually dominated by the animation duration. And because the test rapidly loops launch and finish, the animation style may be different. Then the result may not be meaningful. Because the original purpose of the test is to ensure the frame time, the timestamp at CALLBACK_COMMIT is more accurate. Also skip the the animation so the test can run faster about 80%. Bug: 258883870 Test: atest android.view.contentcapture.LoginTest Change-Id: I529672e7a60bca8420e96d6c900d95848f94108e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions