summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Zim <zezeozue@google.com> 2022-09-20 17:05:22 +0100
committer Zim <zezeozue@google.com> 2022-09-22 01:02:26 +0100
commit915e6c11af87401c8af385d28ebd09208325ee4f (patch)
treef2554dfcafe950b4addf09fc36068de9dc851dbd /libs/androidfw/StringPool.cpp
parentdd3be999d2764334655f659449b1c65256d7b123 (diff)
Populate binder trace txn names lazily
Previously, for each binder interface, we populated a cache of all txn codes to names on the first binder txn to that interface. This skewed the binder txn latency significantly for the first txn to an interface. Now, we lazily populate the cache on each new binder txn. Test: atest open-prebuilt-calculator --rebuild-module-info --tf-template metric_post_processor= google/template/postprocessors/metric-file-aggregate.xml (neglible startup time diff locally) Bug: 246650647 Change-Id: Ib569ebe34e7ef6bb4fa6e53defedcb33ed824308
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions