commit | fb386cc38741fdceb46e7caa6c7d35fb6b14fd8e | [log] [tgz] |
---|---|---|
author | Josh Gao <[email protected]> | Thu Mar 26 22:02:03 2020 -0700 |
committer | Josh Gao <[email protected]> | Thu Apr 02 17:11:07 2020 -0700 |
tree | d4c8c4347c5a9cd983498806e0d0cd0f36dab8d8 | |
parent | 58bee93ab7dd575e493aee23c5b20cd52f8ac338 [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