diff options
author | John Reck <jreck@google.com> | 2016-09-28 13:28:09 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2016-09-30 11:19:10 -0700 |
commit | 71207b5a11c1aaede2ccc2380a9c55b6ff0162d3 (patch) | |
tree | d207c58b503fff2760750de35edb1656bd9968b5 /tools/aapt2/diff/Diff.cpp | |
parent | 463d85cd929e5306ca5c6b44d3d0dc8b3b20068e (diff) |
Switch Parcel to FastNative
Also fixes ParcelBenchmark to have bounded
memory usage to avoid OOM'ing during runs
Test: refactor, no behavior change
ParcelBenchmark results from bullhead
Before:
timeReadByte 74.43ns
timeReadInt 74.49ns
timeReadLong 74.13ns
timeWriteByte 81.81ns
timeWriteInt 82.09ns
timeWriteLong 81.84ns
After:
timeReadByte 47.08ns
timeReadInt 48.38ns
timeReadLong 48.16ns
timeWriteByte 55.90ns
timeWriteInt 55.85ns
timeWriteLong 56.58ns
Change-Id: I61b823d1d2beb86e00c196abd4dce65efa8fa7f0
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions