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

Issue 180783005: MTP Streaming: Optimize block reading (Closed)

Created:
6 years, 9 months ago by tommycli
Modified:
6 years, 9 months ago
CC:
chromium-reviews, vandebo (ex-Chrome), tzik, Lei Zhang, nhiroki, tommycli, Greg Billock, kinuko+watch
Visibility:
Public.

Description

MTP Streaming: Optimize block reading Previously, due to some unoptimal code, we were doing two mtp stats per block. This cuts it down to one mtp stat per block. Still not quite there, but working on it... BUG=110119 TBR=thestig@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253980

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Messages

Total messages: 19 (0 generated)
tommycli
6 years, 9 months ago (2014-02-27 01:19:43 UTC) #1
vandebo (ex-Chrome)
LGTM https://codereview.chromium.org/180783005/diff/1/chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc File chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc (right): https://codereview.chromium.org/180783005/diff/1/chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc#newcode44 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc:44: void ReadBytes( You might be able to eliminate ...
6 years, 9 months ago (2014-02-27 17:20:50 UTC) #2
tommycli
https://codereview.chromium.org/180783005/diff/1/chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc File chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc (right): https://codereview.chromium.org/180783005/diff/1/chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc#newcode44 chrome/browser/media_galleries/fileapi/mtp_file_stream_reader.cc:44: void ReadBytes( On 2014/02/27 17:20:50, vandebo wrote: > You ...
6 years, 9 months ago (2014-02-27 18:57:33 UTC) #3
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 9 months ago (2014-02-27 19:21:56 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/180783005/40001
6 years, 9 months ago (2014-02-27 19:24:27 UTC) #5
vandebo (ex-Chrome)
https://codereview.chromium.org/180783005/diff/40001/chrome/browser/media_galleries/linux/mtp_device_task_helper.cc File chrome/browser/media_galleries/linux/mtp_device_task_helper.cc (right): https://codereview.chromium.org/180783005/diff/40001/chrome/browser/media_galleries/linux/mtp_device_task_helper.cc#newcode223 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc:223: base::checked_cast<int>(file_info.size - request.offset)); This changed from saturated_cast to checked_cast...
6 years, 9 months ago (2014-02-27 19:32:26 UTC) #6
tommycli
https://codereview.chromium.org/180783005/diff/40001/chrome/browser/media_galleries/linux/mtp_device_task_helper.cc File chrome/browser/media_galleries/linux/mtp_device_task_helper.cc (right): https://codereview.chromium.org/180783005/diff/40001/chrome/browser/media_galleries/linux/mtp_device_task_helper.cc#newcode223 chrome/browser/media_galleries/linux/mtp_device_task_helper.cc:223: base::checked_cast<int>(file_info.size - request.offset)); On 2014/02/27 19:32:26, vandebo wrote: > ...
6 years, 9 months ago (2014-02-27 20:18:06 UTC) #7
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 9 months ago (2014-02-27 20:18:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/180783005/10008
6 years, 9 months ago (2014-02-27 20:18:36 UTC) #9
tommycli
The CQ bit was unchecked by tommycli@chromium.org
6 years, 9 months ago (2014-02-27 20:18:38 UTC) #10
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 9 months ago (2014-02-27 20:18:38 UTC) #11
tommycli
The CQ bit was unchecked by tommycli@chromium.org
6 years, 9 months ago (2014-02-27 20:19:15 UTC) #12
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 9 months ago (2014-02-27 20:34:29 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/180783005/110001
6 years, 9 months ago (2014-02-27 20:35:31 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-27 21:00:44 UTC) #15
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=52575
6 years, 9 months ago (2014-02-27 21:00:44 UTC) #16
tommycli
The CQ bit was checked by tommycli@chromium.org
6 years, 9 months ago (2014-02-27 21:28:19 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tommycli@chromium.org/180783005/110001
6 years, 9 months ago (2014-02-27 21:30:08 UTC) #18
commit-bot: I haz the power
6 years, 9 months ago (2014-02-28 00:03:14 UTC) #19
Message was sent while issue was closed.
Change committed as 253980

Powered by Google App Engine
This is Rietveld 408576698