commit | 1198a2583b985dbcbaea41a0b26f724a23ecb129 | [log] [tgz] |
---|---|---|
author | Kohsuke Yatoh <kyatoh@google.com> | Wed Jul 20 06:43:39 2022 +0000 |
committer | Kohsuke Yatoh <kyatoh@google.com> | Wed Jul 20 06:52:13 2022 +0000 |
tree | 6f0aec94293591d35804c49aad2e143f44231039 | |
parent | f99e2e7eb6e4d4fb8fd30ad78cddc54ae5d7a37b [diff] |
Add perf test for Typeface with variation axes. std::unordered_set<AxisTag> consumes considerable memory in minikin, as it requires at least 40 bytes (on aarch64) per instance. We'd like to optimize it. This CL adds perf test to make sure that the latency does not regress by the memory optimization. Bug: 174672300 Test: atest CorePerfTests:android.graphics.perftests.TypefaceCreatePerfTest Change-Id: I5585d058db6195efc05e0f0be3de49b32818414a