summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEdgar Arriaga <edgararriaga@google.com>2020-04-06 16:59:57 -0700
committerWinson Chiu <chiuwinson@google.com>2020-04-17 18:38:29 +0000
commitc7f8e75806772e6b2414f5ee437caca6882bf5d4 (patch)
tree12ebf0343a565eb1830976eadd46aa91c8b64a5c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent56ef0ea4b6d1a73d898c7c06e8e64589ce83cacd (diff)
Optimization: remove duplicated flags computations for getInstalledPackages
Below are some test runs that show 100 iterations of getInstalledPackages ran at activity startup of touchlatency app to demonstrate the perf cost. R Baseline: https://screenshot.googleplex.com/PnVi5APraJo https://pprof.corp.google.com/?id=dc105ca9592f8367c381e2dcf7f1847d R Optimized: https://pprof.corp.google.com/?id=2d1d9fadc20bcc61d41bd52116bd94e3 https://screenshot.googleplex.com/OAwJnvwPqPH Savings: 8% of system_server binder response time when the call is executed. In terms total binder transaction time. Savings are 2% of the total binder call time. Exempt-From-Owner-Approval: CP to correct branch for R Bug: 153656459 Test: atest FrameworksServicesTests:PackageParserTest Test: atest FrameworksServicesTests:PackageParserLegacyCoreTest Test: atest FrameworksServicesTests:ScanTests Test: atest FrameworksServicesTests:ParallelPackageParserTest Merged-In: I2de9cf1f754a505239d4416e1fc70bf77932c5db Change-Id: I2de9cf1f754a505239d4416e1fc70bf77932c5db (cherry picked from commit 7cb9e5f671dc02c15efcbceadb764026e0e70855)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions