summaryrefslogtreecommitdiff
path: root/libpackagelistparser/packagelistparser_test.cpp
diff options
context:
space:
mode:
authorYurii Zubrytskyi <zyy@google.com>2019-06-27 13:47:34 -0700
committerSongchun Fan <schfan@google.com>2019-08-08 12:55:51 -0700
commit6eca0e6999726c9cefa5ce4e0f5da5ca2c920e6d (patch)
treeb86106fe56cfc23a9cb5b7f3638c87287f236d4f /libpackagelistparser/packagelistparser_test.cpp
parentf7970cee69aa2687ee633084d8d23d8a1b47ef32 (diff)
[adb] Speed up the streaming install
1. Use bigger buffer for transfers - 64kb is the default size for push, so let it be the same in streaming 2. Use abb when it's available for lower overhead 3. Add a posix_fadvise() on the source APK 4. Increase buffer sizes for the socketpair that's transferring the data from adbd. Overall this saves about 25% time for streaming installations and makes it faster than the legacy push (at last!) Test: manual Change-Id: Ieb84284da2058944815e062ef6e4389b842565fa
Diffstat (limited to 'libpackagelistparser/packagelistparser_test.cpp')
0 files changed, 0 insertions, 0 deletions