diff options
| author | 2023-03-03 06:55:38 +0000 | |
|---|---|---|
| committer | 2023-03-06 12:30:17 +0000 | |
| commit | 167f94169b5a502ad9675a3557f7cc4dbc958019 (patch) | |
| tree | a54b191cdb18cf9f647f04035e60a8648b71bbba /libs/androidfw/FileStream.cpp | |
| parent | 5d520cb05e571fdb93dd4087546fd7b377dca86a (diff) | |
Make ImePerfTest#testShowImeCold more accurate
In case killBaselineIme() will result the system busy on doing kill
process stuff and easier happen the locking contention in WM/ATM side
when measuring show IME with cold-lunch activity performance,
Make sure to start atrace after kill IME process being settled down
and dumping the trace for each iteration.
With this CL, following metrics can more accurate in reality without
being affected by unexptected delay:
- testShowImeCold_cv: 70 -> 10-20
- startInputOrWindowGainedFocus_mean: 6-8ms -> 2.8-4ms
Bug: 266708619
Test: atest ImePerfTest#testShowImeCold
Change-Id: Ibd004a36759e557c90bd6f156af3729d39f7721f
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions