commit | ec44d35fde60d20d9ab1c6fb9ac7ee844335f1eb | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Thu Mar 26 22:02:03 2020 -0700 |
committer | Josh Gao <jmgao@google.com> | Thu Apr 02 17:11:07 2020 -0700 |
tree | 21c769725de37a031ff6ad478a6643f59511e5db | |
parent | 2165717875ee15aea112f63744780cae26d6b4c4 [diff] |
adb: implement LZ4 compression. Add support for LZ4 compression, which compresses and decompresses far more quickly than brotli, at the cost of worse compression ratio. `adb sync -d system` speeds (in MB/s) on aosp_blueline-eng: none brotli lz4 USB 3.0 120 110 190 USB 2.0 38 75 63 Bug: https://issuetracker.google.com/150827486 Test: python3 -m unittest test_device.FileOperationsTest{Uncompressed,Brotli,LZ4} Change-Id: Ibef6ac15a76b4e5dcd02d7fb9433cbb1c02b8382