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
Loading
Please register or sign in to comment