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

Issue 1318713005: Change the way ImageDecodeBench supplies data (Closed)

Created:
5 years, 3 months ago by scroggo_chromium
Modified:
5 years, 3 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@ImageSource2
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Change the way ImageDecodeBench supplies data By default, pass the data as a single, pre-merged SharedBuffer, to imitate decoding an image whose encoded data is stored in the Blink MemoryCache. Add an option (supplied by a command line flag) to supply the data in chunks. This simulates network traffic. It also allows us to better evaluate the impact of calling SharedBuffer::data() in every call to decode. TBR=tkent@chromium.org BUG=467772 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201836

Patch Set 1 #

Patch Set 2 : Add an option to pass data in chunks #

Total comments: 10

Patch Set 3 : Remove unnecessary check #

Patch Set 4 : Respond to Noel's comments in patch set 2 #

Total comments: 10

Patch Set 5 : Respond to Noel's comments in patch set 4 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -16 lines) Patch
M Source/web/ImageDecodeBench.cpp View 1 2 3 4 5 chunks +53 lines, -16 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (7 generated)
scroggo_chromium
5 years, 3 months ago (2015-09-01 22:12:05 UTC) #2
Peter Kasting
LGTM https://codereview.chromium.org/1318713005/diff/20001/Source/web/ImageDecodeBench.cpp File Source/web/ImageDecodeBench.cpp (right): https://codereview.chromium.org/1318713005/diff/20001/Source/web/ImageDecodeBench.cpp#newcode298 Source/web/ImageDecodeBench.cpp:298: fprintf(stderr, "Should have exited before now."); This should ...
5 years, 3 months ago (2015-09-01 22:27:11 UTC) #3
scroggo_chromium
https://codereview.chromium.org/1318713005/diff/20001/Source/web/ImageDecodeBench.cpp File Source/web/ImageDecodeBench.cpp (right): https://codereview.chromium.org/1318713005/diff/20001/Source/web/ImageDecodeBench.cpp#newcode298 Source/web/ImageDecodeBench.cpp:298: fprintf(stderr, "Should have exited before now."); On 2015/09/01 22:27:11, ...
5 years, 3 months ago (2015-09-01 22:52:15 UTC) #4
Noel Gordon
https://codereview.chromium.org/1318713005/diff/20001/Source/web/ImageDecodeBench.cpp File Source/web/ImageDecodeBench.cpp (right): https://codereview.chromium.org/1318713005/diff/20001/Source/web/ImageDecodeBench.cpp#newcode18 Source/web/ImageDecodeBench.cpp:18: FIXME: Consider adding an input data packetization option. Break ...
5 years, 3 months ago (2015-09-02 08:39:49 UTC) #5
scroggo_chromium
https://codereview.chromium.org/1318713005/diff/20001/Source/web/ImageDecodeBench.cpp File Source/web/ImageDecodeBench.cpp (right): https://codereview.chromium.org/1318713005/diff/20001/Source/web/ImageDecodeBench.cpp#newcode18 Source/web/ImageDecodeBench.cpp:18: FIXME: Consider adding an input data packetization option. Break ...
5 years, 3 months ago (2015-09-02 15:45:54 UTC) #6
Noel Gordon
https://codereview.chromium.org/1318713005/diff/60001/Source/web/ImageDecodeBench.cpp File Source/web/ImageDecodeBench.cpp (right): https://codereview.chromium.org/1318713005/diff/60001/Source/web/ImageDecodeBench.cpp#newcode287 Source/web/ImageDecodeBench.cpp:287: RefPtr<SharedBuffer> incrementalData = SharedBuffer::create(); incrementalData -> packetData ? https://codereview.chromium.org/1318713005/diff/60001/Source/web/ImageDecodeBench.cpp#newcode290 ...
5 years, 3 months ago (2015-09-02 23:29:35 UTC) #7
scroggo
https://codereview.chromium.org/1318713005/diff/60001/Source/web/ImageDecodeBench.cpp File Source/web/ImageDecodeBench.cpp (right): https://codereview.chromium.org/1318713005/diff/60001/Source/web/ImageDecodeBench.cpp#newcode287 Source/web/ImageDecodeBench.cpp:287: RefPtr<SharedBuffer> incrementalData = SharedBuffer::create(); On 2015/09/02 23:29:35, noel gordon ...
5 years, 3 months ago (2015-09-03 22:10:26 UTC) #9
Noel Gordon
On 2015/09/03 22:10:26, scroggo wrote: https://codereview.chromium.org/1318713005/diff/60001/Source/web/ImageDecodeBench.cpp#newcode335 > Source/web/ImageDecodeBench.cpp:335: // Control decode bench iterations. > On ...
5 years, 3 months ago (2015-09-03 23:09:32 UTC) #10
Noel Gordon
LGTM
5 years, 3 months ago (2015-09-03 23:09:55 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1318713005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1318713005/80001
5 years, 3 months ago (2015-09-04 15:06:37 UTC) #14
scroggo_chromium
tkent@, can you give me an owners review please?
5 years, 3 months ago (2015-09-04 15:10:41 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/96668)
5 years, 3 months ago (2015-09-04 15:14:48 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1318713005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1318713005/80001
5 years, 3 months ago (2015-09-05 00:58:32 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:80001) as https://src.chromium.org/viewvc/blink?view=rev&revision=201836
5 years, 3 months ago (2015-09-05 01:03:20 UTC) #21
tkent
5 years, 3 months ago (2015-09-07 00:01:45 UTC) #22
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698