diff options
author | Rock.Yeh <rock.yeh@mediatek.com> | 2020-06-23 21:29:19 +0800 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2020-06-30 09:48:46 +0000 |
commit | fa88d5228d0cafda62d94d989542801f19ac8573 (patch) | |
tree | a1d1bb7f8e26d4f14e1913d258ed458fcaf5b51f /test/ProfileTestMultiDex/Main.java | |
parent | 93e4df7eac750db34ed99d691cc5c251fb80a107 (diff) |
Add an execution time log for VerifyClass
Some APK gets a very small duration of VerifyClass. We cannot use
systrace to profile it because the value is too small. The log
measurement can get a better precise value.
Test APK: com.babycloud.hanju
Systrace enable
VerifyClass count: 1122
Q: 365.864ms
R: 411.979ms
Systrace disable
VerifyClass count: 1122
Q: 325.234ms
R: 337.045ms
Via above results, systrace disable can get a better precise value.
Sample:
06-23 21:14:06.338 5199 5199 I babycloud.hanj: VerifyClass took
1.509ms, class: androidx.fragment.app.FragmentTransition
Test: boot
Test: Launch APP
Change-Id: I4375b42f07bc48987c3c4ffa1c155c2c748a7a65
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions