summaryrefslogtreecommitdiff
path: root/libutils/FileMap_test.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2020-03-04 19:34:08 -0800
committerJosh Gao <jmgao@google.com>2020-03-26 16:08:41 -0700
commit50ab0a690059a27046563a8e3ea955287b740259 (patch)
tree80e5ba4a111ce831a363163fb096e7fbebfdb796 /libutils/FileMap_test.cpp
parent40791abd6b7e8ae0ccdb1db818e92dd93ba9c4b0 (diff)
adb: implement compression for file sync.
This improves performance when syncing by up to 2x (remote cuttlefish goes from 11.9 MB/s to 21.3 MB/s, blueline over USB 2.0 from 36 MB/s to 70 MB/s). This results in a slight drop in push speeds over USB 3.0 (125 -> 115 MB/s on blueline), presumably because we're compressing and extracting on only a single thread, but the gains over lower bandwidth transports make this worth it to submit this now and parallelize later. Bug: https://issuetracker.google.com/150827486 Test: ADB_COMPRESSION={0, 1} test_device.py (with new/old adbd) Change-Id: Ic2a0c974f1b6efecda115f87d336e3caac810035 Merged-In: Ic2a0c974f1b6efecda115f87d336e3caac810035 (cherry picked from commit 939fc19aee7f6a19ce0f4fa91557bbbe9cd974f5)
Diffstat (limited to 'libutils/FileMap_test.cpp')
0 files changed, 0 insertions, 0 deletions