diff options
author | Seigo Nonaka <nona@google.com> | 2018-01-24 16:46:14 -0800 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2018-01-25 10:41:26 -0800 |
commit | 49ca0244c9fa01dd667755cde6eb2342b8e2e05d (patch) | |
tree | 0b7b7b1b5e276e0e0621f9d3d2d5b08ff3d010a2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 783f961d2fa6f916009844dafeaa08ffaf96a4d3 (diff) |
Introduce MeasuredText related perf tests
This CL adds two perf test for MeasuredText: the memory usage and
construction time of MeasuredText.
Here is an example output on walleye-userdebug:
Memory Usage (in bytes)
Hyphenation : 28,448
Hyphenation WidthOnly : 8,856
NoHyphenation : 27,592
NoHyphenation WidthOnly: 8,000
MeasuredText creation time
NoStyled Hyphenation : 18,977,877
NoStyled Hyphenation WidthOnly : 18,510,041
NoStyled NoHyphenation : 7,771,936
NoStyled NoHyphenation WidthOnly: 7,332,537
Styled Hyphenation : 13,514,428
Styled Hyphenation WidthOnly : 12,446,143
Styled NoHyphenation : 13,370,358
Styled NoHyphenation WidthOnly : 13,582,435
Bug: 72461923
Bug: 72462192
Test: See above
Change-Id: I7d326a9e70a29c38c940e0085da2bc4edf2a098a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions