diff options
author | Amin Hassani <ahassani@google.com> | 2017-11-09 13:46:56 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-11-22 17:29:40 -0800 |
commit | efa62d959cf8f225477ab85d8ff42d5150007cf8 (patch) | |
tree | fc0c2b20c5fbf01e6ca2c53d3441f8a90524cd6a /scripts/update_payload/payload.py | |
parent | 02855c25944b8d64e569e9e8051be514acf40438 (diff) |
update_engine: Adds BROTLI_BSDIFF operation
Brotli compression creates on average 10%-20% smaller output than bzip2
in addition to having faster decompressor. With recent changes in bsdiff
to compress the its patch with brotli, we can use it in the
update_engine as a new operation BROTLI_BSDIFF. This operation will be
turned on in minor version 4. However, this CL only adds support for it
in the client. It will not generate BROTLI_BSDIFF operations yet.
BUG=chromium:783437
TEST=unittests pass for both update_engine and update_payload;
'brillo_update_payload {generate|verify}' passes;
'scripts/paycheck.py payload.delta' passes;
Change-Id: Ie791ba5431561c95de6fbc031a8196dbfd912288
Reviewed-on: https://chromium-review.googlesource.com/764791
Commit-Ready: Amin Hassani <ahassani@chromium.org>
Tested-by: Amin Hassani <ahassani@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
Diffstat (limited to 'scripts/update_payload/payload.py')
0 files changed, 0 insertions, 0 deletions