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

Issue 973483002: Files.app: Mitigate performance issue on select-all by prefetching content mime type. (Closed)

Created:
5 years, 9 months ago by fukino
Modified:
5 years, 9 months ago
Reviewers:
hirono
CC:
chromium-reviews, rginda+watch_chromium.org, mtomasz+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Files.app: Mitigate performance issue on select-all by prefetching content mime type. BUG=458915 TEST=Select 2000 photos by Ctrl+A and check that UI responds in less than 500ms. Committed: https://crrev.com/a8d56decc5033dbc58f4f1023e5c8293568a8723 Cr-Commit-Position: refs/heads/master@{#318853}

Patch Set 1 #

Patch Set 2 : Address review comment, and avoid Function.bind in the for-loop for all selected files. #

Total comments: 2

Patch Set 3 : Add a comment about performance optimization, and attached a link to crbug. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -3 lines) Patch
M ui/file_manager/file_manager/foreground/js/directory_contents.js View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_selection.js View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M ui/file_manager/file_manager/foreground/js/file_transfer_controller.js View 1 2 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
fukino
Could you take a look? Thanks!
5 years, 9 months ago (2015-03-02 15:20:49 UTC) #2
hirono
On 2015/03/02 15:20:49, fukino wrote: > Could you take a look? Thanks! If the contentMimeType ...
5 years, 9 months ago (2015-03-03 01:49:44 UTC) #3
fukino
On 2015/03/03 01:49:44, hirono wrote: > If the contentMimeType property is used other than list ...
5 years, 9 months ago (2015-03-03 06:36:40 UTC) #4
hirono
lgtm! Thanks! https://codereview.chromium.org/973483002/diff/20001/ui/file_manager/file_manager/foreground/js/file_selection.js File ui/file_manager/file_manager/foreground/js/file_selection.js (right): https://codereview.chromium.org/973483002/diff/20001/ui/file_manager/file_manager/foreground/js/file_selection.js#newcode108 ui/file_manager/file_manager/foreground/js/file_selection.js:108: * These metadata is expected to be ...
5 years, 9 months ago (2015-03-03 06:50:01 UTC) #5
fukino
Thank you! https://codereview.chromium.org/973483002/diff/20001/ui/file_manager/file_manager/foreground/js/file_selection.js File ui/file_manager/file_manager/foreground/js/file_selection.js (right): https://codereview.chromium.org/973483002/diff/20001/ui/file_manager/file_manager/foreground/js/file_selection.js#newcode108 ui/file_manager/file_manager/foreground/js/file_selection.js:108: * These metadata is expected to be ...
5 years, 9 months ago (2015-03-03 07:23:44 UTC) #6
hirono
On 2015/03/03 07:23:44, fukino wrote: > Thank you! > > https://codereview.chromium.org/973483002/diff/20001/ui/file_manager/file_manager/foreground/js/file_selection.js > File ui/file_manager/file_manager/foreground/js/file_selection.js (right): ...
5 years, 9 months ago (2015-03-03 07:24:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/973483002/40001
5 years, 9 months ago (2015-03-03 07:25:57 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-03 08:04:47 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-03-03 08:05:44 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a8d56decc5033dbc58f4f1023e5c8293568a8723
Cr-Commit-Position: refs/heads/master@{#318853}

Powered by Google App Engine
This is Rietveld 408576698