summaryrefslogtreecommitdiff
path: root/scripts/update_payload/common.py
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2017-06-15 18:26:55 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-10-23 15:22:23 -0700
commite9f9661e99917c9b33e10fb6c4f10979b13f572b (patch)
tree834fd1d0544646f652d5fd939e57acaef06a3fe2 /scripts/update_payload/common.py
parent924183b4ec3a66a36e681b2737472cf7bc6b6d68 (diff)
Add multi thread support for A/B generator
Use threadpool to calculate file deltas in parallel. This decreases the time consumption from 40 mins to 13 mins for the incremental payload generation of two taimen system images. BUG=b:62470452 TEST=Unit tests pass && generate an identical payload for incremental taimen as before Change-Id: Ie295504b758a1baa6b661c76bcbb6aa7881ded5d (cherry picked from commit c4ad1ebc33abc088aca2909ba5cbaf7ae5e5659f) Reviewed-on: https://chromium-review.googlesource.com/731724 Commit-Ready: Amin Hassani <ahassani@chromium.org> Tested-by: Amin Hassani <ahassani@chromium.org> Reviewed-by: Ben Chan <benchan@chromium.org> Reviewed-by: Sen Jiang <senj@chromium.org>
Diffstat (limited to 'scripts/update_payload/common.py')
0 files changed, 0 insertions, 0 deletions