Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Issue 1375043002: Speed up incremental_install by caching device checksums between runs. (Closed)

Created:
5 years, 2 months ago by agrieve
Modified:
5 years, 2 months ago
Reviewers:
jbudorick
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org, jbudorick+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@device-utils-brace-fix
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Speed up incremental_install by caching device checksums between runs. DeviceUtils: - Adds a constructor paramter to enable caching of checksums used by PushChangedFiles. - Adds methods to load / save a DeviceUtils cache. installer.py: - Enable caching of pushed files between runs by storing - Add concurrency to setup / finalize steps A no-op install now takes less than 2 seconds on my machine. BUG=520082 Committed: https://crrev.com/edb55bd1cf583ec18040d8f1e7fbaef409e2a0ca Cr-Commit-Position: refs/heads/master@{#352374}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 10

Patch Set 3 : review comments 1 #

Patch Set 4 : rebase #

Patch Set 5 : rebase for real #

Patch Set 6 : update cache after pushing #

Patch Set 7 : fix cache_commit_func #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -31 lines) Patch
M build/android/devil/android/device_utils.py View 1 2 3 4 5 6 8 chunks +69 lines, -11 lines 0 comments Download
M build/android/incremental_install/installer.py View 1 2 6 chunks +54 lines, -20 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 37 (17 generated)
agrieve
On 2015/09/29 17:22:07, agrieve wrote: > mailto:agrieve@chromium.org changed reviewers: > + mailto:jbudorick@chromium.org please review.
5 years, 2 months ago (2015-09-29 17:23:08 UTC) #2
agrieve
On 2015/09/29 17:23:08, agrieve wrote: > On 2015/09/29 17:22:07, agrieve wrote: > > mailto:agrieve@chromium.org changed ...
5 years, 2 months ago (2015-10-01 15:42:16 UTC) #3
jbudorick
This looks pretty good, and it's something I'd be interested in deploying to the bots ...
5 years, 2 months ago (2015-10-01 17:15:27 UTC) #4
agrieve
https://codereview.chromium.org/1375043002/diff/20001/build/android/devil/android/device_utils.py File build/android/devil/android/device_utils.py (right): https://codereview.chromium.org/1375043002/diff/20001/build/android/devil/android/device_utils.py#newcode167 build/android/devil/android/device_utils.py:167: def __init__(self, device, enable_device_files_cache=False, On 2015/10/01 17:15:26, jbudorick wrote: ...
5 years, 2 months ago (2015-10-01 18:30:16 UTC) #5
jbudorick
lgtm
5 years, 2 months ago (2015-10-01 18:35:38 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375043002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375043002/40001
5 years, 2 months ago (2015-10-02 14:13:20 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/76792) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 2 months ago (2015-10-02 14:16:26 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375043002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375043002/60001
5 years, 2 months ago (2015-10-02 15:36:38 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/76821) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 2 months ago (2015-10-02 15:39:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375043002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375043002/80001
5 years, 2 months ago (2015-10-02 15:46:20 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/77118)
5 years, 2 months ago (2015-10-02 20:04:55 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375043002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375043002/100001
5 years, 2 months ago (2015-10-02 20:23:17 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/77327)
5 years, 2 months ago (2015-10-03 00:21:34 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375043002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375043002/120001
5 years, 2 months ago (2015-10-04 04:13:45 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-04 05:56:24 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375043002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375043002/120001
5 years, 2 months ago (2015-10-05 14:06:30 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/116382)
5 years, 2 months ago (2015-10-05 16:50:36 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1375043002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1375043002/120001
5 years, 2 months ago (2015-10-05 17:38:32 UTC) #35
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 2 months ago (2015-10-05 19:01:57 UTC) #36
commit-bot: I haz the power
5 years, 2 months ago (2015-10-05 19:02:37 UTC) #37
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/edb55bd1cf583ec18040d8f1e7fbaef409e2a0ca
Cr-Commit-Position: refs/heads/master@{#352374}

Powered by Google App Engine
This is Rietveld 408576698