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

Issue 2411363002: Add timer to OffscreenCanvas's commit API (Closed)

Created:
4 years, 2 months ago by xidachen
Modified:
4 years, 2 months ago
CC:
chromium-reviews, krit, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, dshwang, pdr+graphicswatchlist_chromium.org, jbroman, haraken, Rik, f(malita), blink-reviews, danakj+watch_chromium.org, ajuma+watch_chromium.org, Stephen Chennney, rwlbuis, Ken Russell (switch to Gerrit)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add timer to OffscreenCanvas's commit API This CL adds timer to the OffscreenCanvas's commit API, which tracks the time spends on commit before compositing. We track this for different code paths (total of 4). BUG=653599 TBR=kbr@chromium.org, zmo@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/0abcd1a8bfe2150793440000ee9c8c077479a734 Cr-Commit-Position: refs/heads/master@{#425242}

Patch Set 1 #

Patch Set 2 : add to histogram #

Total comments: 8

Patch Set 3 : address comments #

Patch Set 4 : forgot two breaks #

Messages

Total messages: 21 (12 generated)
xidachen
PTAL
4 years, 2 months ago (2016-10-12 16:54:49 UTC) #3
Justin Novosad
https://codereview.chromium.org/2411363002/diff/20001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp File third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp (right): https://codereview.chromium.org/2411363002/diff/20001/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp#newcode245 third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp:245: if (commitType == CommitGPUCanvasGPUCompositing) { Nit: Should use switch/case ...
4 years, 2 months ago (2016-10-12 21:11:12 UTC) #4
Ilya Sherman
Metrics LGTM % a nit: https://codereview.chromium.org/2411363002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2411363002/diff/20001/tools/metrics/histograms/histograms.xml#newcode3959 tools/metrics/histograms/histograms.xml:3959: +<histogram name="Blink.Canvas.OffscreenCommit" units="microseconds"> nit: ...
4 years, 2 months ago (2016-10-12 22:19:09 UTC) #5
xidachen
PTAL isherman@: could you please take another look at histogram changes as we have added ...
4 years, 2 months ago (2016-10-13 01:39:24 UTC) #6
Justin Novosad
lgtm
4 years, 2 months ago (2016-10-13 03:57:44 UTC) #7
Ilya Sherman
metrics still lgtm, thanks
4 years, 2 months ago (2016-10-13 21:55:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2411363002/60001
4 years, 2 months ago (2016-10-14 02:50:39 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-14 02:56:39 UTC) #19
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 02:57:58 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0abcd1a8bfe2150793440000ee9c8c077479a734
Cr-Commit-Position: refs/heads/master@{#425242}

Powered by Google App Engine
This is Rietveld 408576698