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

Issue 424553002: upload_dir_contents(): upload multiple files in parallel (Closed)

Created:
6 years, 5 months ago by epoger
Modified:
6 years, 4 months ago
Reviewers:
borenet
CC:
reviews_skia.org, rmistry
Base URL:
https://skia.googlesource.com/common.git@master
Visibility:
Public.

Description

upload_dir_contents(): upload multiple files in parallel BUG=skia:2780 R=borenet@google.com Committed: https://skia.googlesource.com/common/+/0b62f0e

Patch Set 1 : the meat of the change #

Patch Set 2 : replace prints with logging #

Total comments: 5

Patch Set 3 : Eric comments #

Patch Set 4 : fill the queue before starting worker threads #

Total comments: 2

Patch Set 5 : add DEFAULT_UPLOAD_THREADS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -13 lines) Patch
M py/utils/gs_utils.py View 1 2 3 4 9 chunks +59 lines, -13 lines 0 comments Download
M py/utils/gs_utils_manualtest.py View 1 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
epoger
Eric- PTAL as of patchset 2.
6 years, 4 months ago (2014-07-27 16:37:08 UTC) #1
borenet
Looks mostly good, but I don't like the end_of_queue object... https://codereview.chromium.org/424553002/diff/20001/py/utils/gs_utils.py File py/utils/gs_utils.py (right): https://codereview.chromium.org/424553002/diff/20001/py/utils/gs_utils.py#newcode366 ...
6 years, 4 months ago (2014-07-28 13:32:11 UTC) #2
epoger
Eric- Thanks (as always!) for your fast and thorough review. Comments inline. https://codereview.chromium.org/424553002/diff/20001/py/utils/gs_utils.py File py/utils/gs_utils.py ...
6 years, 4 months ago (2014-07-28 14:14:14 UTC) #3
borenet
https://codereview.chromium.org/424553002/diff/20001/py/utils/gs_utils.py File py/utils/gs_utils.py (right): https://codereview.chromium.org/424553002/diff/20001/py/utils/gs_utils.py#newcode374 py/utils/gs_utils.py:374: return On 2014/07/28 14:14:14, epoger wrote: > On 2014/07/28 ...
6 years, 4 months ago (2014-07-28 14:20:07 UTC) #4
epoger
On 2014/07/28 14:20:07, borenet wrote: > I was thinking of #2, since you're dealing with ...
6 years, 4 months ago (2014-07-28 14:36:55 UTC) #5
epoger
6 years, 4 months ago (2014-07-28 14:37:02 UTC) #6
borenet
LGTM with optional nit. https://codereview.chromium.org/424553002/diff/60001/py/utils/gs_utils.py File py/utils/gs_utils.py (right): https://codereview.chromium.org/424553002/diff/60001/py/utils/gs_utils.py#newcode290 py/utils/gs_utils.py:290: num_threads=10, upload_if=UploadIf.ALWAYS, **kwargs): Optional nit: ...
6 years, 4 months ago (2014-07-28 14:41:33 UTC) #7
epoger
https://codereview.chromium.org/424553002/diff/60001/py/utils/gs_utils.py File py/utils/gs_utils.py (right): https://codereview.chromium.org/424553002/diff/60001/py/utils/gs_utils.py#newcode290 py/utils/gs_utils.py:290: num_threads=10, upload_if=UploadIf.ALWAYS, **kwargs): On 2014/07/28 14:41:33, borenet wrote: > ...
6 years, 4 months ago (2014-07-28 14:50:05 UTC) #8
epoger
6 years, 4 months ago (2014-07-28 14:50:24 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 manually as r0b62f0e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698