summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSuprabh Shukla <suprabh@google.com>2019-03-04 16:59:00 -0800
committerSuprabh Shukla <suprabh@google.com>2019-03-12 16:18:39 -0700
commit43f3af7e8a3c77ba79ce899ff58f5f29d49b374f (patch)
tree809c7b7d61702d4f045db1f5f8f26c16b85c93e8 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent47bfb774af695617be3bd69d5e8c52ba6b935686 (diff)
Optimizing getUnsuspendablePackages
Test: atest GtsSuspendAppsTestCases Locally with 274 packages, I plugged in StatLogger: Before the change: Stats: getUnsuspendablePackages: count=105, total=18679.5ms, avg=177.900ms, max calls/s=2 max dur/s=226.0ms max time=214.1ms getActiveLauncher: count=28392, total=9856.3ms, avg=0.347ms, max calls/s=946 max dur/s=308.0ms max time=5.1ms getDialer: count=28080, total=160.3ms, avg=0.006ms, max calls/s=0 max dur/s=0.0ms max time=1.3ms After the change: Stats: getUnsuspendablePackages: count=104, total=7193.4ms, avg=69.167ms, max calls/s=21 max dur/s=1459.0ms max time=105.8ms getActiveLauncher: count=127, total=138.2ms, avg=1.088ms, max calls/s=11 max dur/s=16.0ms max time=2.0ms getDialer: count=127, total=4.2ms, avg=0.033ms, max calls/s=0 max dur/s=0.0ms max time=0.9ms Fixes: 120908380 Change-Id: I4554fa7e3b72dfd5d66ad63fdf51528537d686b4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions