summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorKurt Nelson <kurtn@google.com>2017-10-25 15:24:15 -0700
committerKurt Nelson <kurtn@google.com>2017-10-27 11:12:05 -0700
commit87dd8bcbc2abc171d89a0ca992f2ab9b8dc5a5c1 (patch)
tree486bd037af2ab72e800cf62458d08a650b0c5738 /tools/aapt2/java/JavaClassGenerator.cpp
parentbb18e32964d7802c042fde558ffb2840ec2db9db (diff)
Parcel nested stack trace elements
The only thing printed besides the stack elements is the classname `LogStackTrace`. This is useless. We can improve performance by only parceling around the StackTraceElement[] instead of serializing the whole Throwable. testCrossBinderThreadViolation is currently ~3,700,000 Test: cts-tradefed run cts-dev --module CtsOsTestCases --test android.os.cts.StrictModeTest Bug: 68257982 Bug: 62458734 Bug: 68383527 timeThreadViolation_mean=374405 timeThreadViolation_median=372258 timeThreadViolation_min=367266 timeThreadViolation_standardDeviation=6998 timeCrossBinderThreadViolationNoStrictMode_mean=2331746 timeCrossBinderThreadViolationNoStrictMode_median=2337964 timeCrossBinderThreadViolationNoStrictMode_min=2226280 timeCrossBinderThreadViolationNoStrictMode_standardDeviation=64135 timeCrossBinderThreadViolation_mean=2484286 timeCrossBinderThreadViolation_median=2345391 timeCrossBinderThreadViolation_min=2331061 timeCrossBinderThreadViolation_standardDeviation=251332 timeVmViolationNoStrictMode_mean=2677281 timeVmViolationNoStrictMode_median=2733943 timeVmViolationNoStrictMode_min=2319806 timeVmViolationNoStrictMode_standardDeviation=295305 timeVmViolation_mean=3718122 timeVmViolation_median=3632176 timeVmViolation_min=3557980 timeVmViolation_standardDeviation=236624 timeThreadViolationNoStrictMode_mean=414257 timeThreadViolationNoStrictMode_median=414664 timeThreadViolationNoStrictMode_min=397317 timeThreadViolationNoStrictMode_standardDeviation=12954 Change-Id: If59812d71917aed08d557936ff7495d2f4ded23b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions