commit | ceb5dd0faf9609ab0b1da3d436a1f55d85d85915 | [log] [tgz] |
---|---|---|
author | Greg Hackmann <ghackmann@google.com> | Tue Nov 28 18:35:46 2017 -0800 |
committer | Greg Hackmann <ghackmann@google.com> | Thu Nov 30 08:34:21 2017 -0800 |
tree | f188e4281d9c317e90d923ba824aee9d5e213ae9 | |
parent | 9fdbc957c6d7b464fccfcfcd01a4771172f18c0e [diff] |
PaintMeasureTextTest: only pause/resume not_cached benchmarks Pausing and resuming the benchmark timer isn't needed unless we plan to flush the text layout cache. The cached benchmark runs are so fast on high-end devices, the overhead of these extra calls can be significant compared to the actual code being measured. Test: run PaintMeasureTextTest on sailfish Bug: 69634871 Change-Id: If8246154e50451d82ac96e026036aa4a42eaed8d Signed-off-by: Greg Hackmann <ghackmann@google.com>