summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorVictor Hsieh <victorhsieh@google.com>2017-11-08 10:25:11 -0800
committerVictor Hsieh <victorhsieh@google.com>2017-11-08 15:19:41 -0800
commitdef64f26c32c0f1ddc72cd2b0d5c9f49338c558a (patch)
treecf8413833c20c2b26a4d1d82e78f7691202dfc80 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta8d534bffa138744002875c972aa4b23f8c8ee3e (diff)
Optimizations to reduce verity verification time
Test: with CPU locked to low freq, verification time of a 400 MB apk is reduced from about 2528 ms to 1942 ms, vs 915 ms of the old algorithm. Writing directly into ByteBuffer's backing array saves around 100 ms but it does not work for DirectByteBuffer, thus I didn't implement this optimization. Bug: 30972906 Change-Id: I00cf782e18a8351569eaf4593188c1ce6796a634
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions