diff options
author | 2016-02-25 13:52:10 -0800 | |
---|---|---|
committer | 2016-02-25 16:43:54 -0800 | |
commit | 167e638ffd46186ef4fa26d1c0b6c7e00ed51ccb (patch) | |
tree | 8403ffeacff2f28b0fcd0698f2ed677b0a110352 /compiler/driver/compiler_driver_test.cc | |
parent | 1c3fa8891a95003f305a77d45838cb7c5040290f (diff) |
Add lz4hc image compression format
Smaller than lz4 and decompresses at the same speed. Compression is
a bit slower.
Example saves on old FB APK:
Uncompressed: 44748800 bytes
LZ4: 12443648 bytes
LZ4HC: 11055104 bytes
Generating the image slows down by ~1s per 20MB of image due to
slower compression. Decompression is about the same speed but there
should be a slight speedup since less data needs to be read from
flash.
Added test.
Bug: 22858531
(cherry picked from commit a6e81ed4c185b7362cd5199ebe5507d00883a9b0)
Change-Id: Idd0bbe1ea45fc6ab75a42bfeb0ef250e8b3e2f1b
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
0 files changed, 0 insertions, 0 deletions