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

Issue 298823005: Files.app: Run two metadata fetch jobs congruently (Closed)

Created:
6 years, 7 months ago by yoshiki
Modified:
6 years, 6 months ago
Reviewers:
mtomasz
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org, yoshiki+watch_chromium.org
Visibility:
Public.

Description

Files.app: Run two metadata fetch jobs congruently On fetching metadata, after sending a request, JS is just waiting results and nothing is running in JS side. With this patch, the next job can be run in such an idle time. BUG=367123 TEST=filelist can be shown correctly Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273185

Patch Set 1 : wip #

Total comments: 5

Patch Set 2 : rebase #

Total comments: 2

Patch Set 3 : Tunes parameters (50/2 -> 25/4) #

Patch Set 4 : Remove debug output #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -24 lines) Patch
M ui/file_manager/file_manager/foreground/js/directory_contents.js View 1 2 3 7 chunks +38 lines, -24 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
mtomasz
https://codereview.chromium.org/298823005/diff/20001/ui/file_manager/file_manager/foreground/js/directory_contents.js File ui/file_manager/file_manager/foreground/js/directory_contents.js (right): https://codereview.chromium.org/298823005/diff/20001/ui/file_manager/file_manager/foreground/js/directory_contents.js#newcode652 ui/file_manager/file_manager/foreground/js/directory_contents.js:652: this.prefetchMetadataQueue_.run(function(callbackOuter) { Naming is confusing. How about: this.prefetchMetadataQueue_ -> ...
6 years, 7 months ago (2014-05-21 13:15:47 UTC) #1
yoshiki
> https://codereview.chromium.org/298823005/diff/20001/ui/file_manager/file_manager/foreground/js/directory_contents.js#newcode657 > ui/file_manager/file_manager/foreground/js/directory_contents.js:657: var > metadataFetchQueue = new AsyncUtil.ConcurrentQueue(2); > How much does this ...
6 years, 7 months ago (2014-05-23 08:24:19 UTC) #2
mtomasz
On 2014/05/23 08:24:19, yoshiki wrote: > > > https://codereview.chromium.org/298823005/diff/20001/ui/file_manager/file_manager/foreground/js/directory_contents.js#newcode657 > > ui/file_manager/file_manager/foreground/js/directory_contents.js:657: var > > ...
6 years, 7 months ago (2014-05-23 08:34:38 UTC) #3
yoshiki
On 2014/05/23 08:34:38, mtomasz wrote: > On 2014/05/23 08:24:19, yoshiki wrote: > > > > ...
6 years, 7 months ago (2014-05-27 14:01:37 UTC) #4
yoshiki
@mtomasz: PTAL. https://codereview.chromium.org/298823005/diff/20001/ui/file_manager/file_manager/foreground/js/directory_contents.js File ui/file_manager/file_manager/foreground/js/directory_contents.js (right): https://codereview.chromium.org/298823005/diff/20001/ui/file_manager/file_manager/foreground/js/directory_contents.js#newcode652 ui/file_manager/file_manager/foreground/js/directory_contents.js:652: this.prefetchMetadataQueue_.run(function(callbackOuter) { On 2014/05/21 13:15:47, mtomasz wrote: ...
6 years, 7 months ago (2014-05-27 14:01:46 UTC) #5
mtomasz
https://codereview.chromium.org/298823005/diff/40001/ui/file_manager/file_manager/foreground/js/directory_contents.js File ui/file_manager/file_manager/foreground/js/directory_contents.js (right): https://codereview.chromium.org/298823005/diff/40001/ui/file_manager/file_manager/foreground/js/directory_contents.js#newcode656 ui/file_manager/file_manager/foreground/js/directory_contents.js:656: var MAX_CHUNK_SIZE = 50; I just took a look ...
6 years, 7 months ago (2014-05-27 15:31:25 UTC) #6
yoshiki
https://codereview.chromium.org/298823005/diff/40001/ui/file_manager/file_manager/foreground/js/directory_contents.js File ui/file_manager/file_manager/foreground/js/directory_contents.js (right): https://codereview.chromium.org/298823005/diff/40001/ui/file_manager/file_manager/foreground/js/directory_contents.js#newcode656 ui/file_manager/file_manager/foreground/js/directory_contents.js:656: var MAX_CHUNK_SIZE = 50; On 2014/05/27 15:31:26, mtomasz wrote: ...
6 years, 6 months ago (2014-05-28 03:30:15 UTC) #7
mtomasz
On 2014/05/28 03:30:15, yoshiki wrote: > https://codereview.chromium.org/298823005/diff/40001/ui/file_manager/file_manager/foreground/js/directory_contents.js > File ui/file_manager/file_manager/foreground/js/directory_contents.js (right): > > https://codereview.chromium.org/298823005/diff/40001/ui/file_manager/file_manager/foreground/js/directory_contents.js#newcode656 > ...
6 years, 6 months ago (2014-05-28 04:00:21 UTC) #8
yoshiki
On 2014/05/28 04:00:21, mtomasz wrote: > On 2014/05/28 03:30:15, yoshiki wrote: > > > https://codereview.chromium.org/298823005/diff/40001/ui/file_manager/file_manager/foreground/js/directory_contents.js ...
6 years, 6 months ago (2014-05-28 05:25:25 UTC) #9
yoshiki
The CQ bit was checked by yoshiki@chromium.org
6 years, 6 months ago (2014-05-28 05:27:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoshiki@chromium.org/298823005/80001
6 years, 6 months ago (2014-05-28 05:28:30 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-05-28 08:49:28 UTC) #12
Message was sent while issue was closed.
Change committed as 273185

Powered by Google App Engine
This is Rietveld 408576698