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

Issue 16878004: DevTools: add instrumentation for deferred canvas rasterization (Closed)

Created:
7 years, 6 months ago by caseq
Modified:
7 years, 3 months ago
CC:
blink-reviews, jamesr, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, eae+blinkwatch, yurys+blink_chromium.org, lushnikov+blink_chromium.org, abarth-chromium, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, Rik, apavlov+blink_chromium.org, danakj, Stephen Chennney, aandrey+blink_chromium.org, jeez, pdr.
Visibility:
Public.

Description

DevTools: add instrumentation for deferred canvas rasterization - expose instrumentation cookie through WebDevToolsAgent, so that embedder-side trace events may be associated with particular inspected page; - instrument Canvas2DLayerBridge - process UpdateLayer and RasterizeCanvas events in TimelineTraceEventProcessor Related chromium-side change: https://codereview.chromium.org/16848010/ BUG=244505

Patch Set 1 #

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -25 lines) Patch
M Source/WebKit/chromium/src/WebDevToolsAgentImpl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/WebKit/chromium/src/WebDevToolsAgentImpl.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorController.h View 1 3 chunks +3 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorController.cpp View 1 2 chunks +10 lines, -3 lines 0 comments Download
M Source/core/inspector/InspectorInstrumentation.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorInstrumentation.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorTimelineAgent.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorTimelineAgent.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/inspector/TimelineTraceEventProcessor.h View 1 1 chunk +6 lines, -3 lines 0 comments Download
M Source/core/inspector/TimelineTraceEventProcessor.cpp View 1 5 chunks +44 lines, -15 lines 0 comments Download
M Source/core/platform/PlatformInstrumentation.h View 3 chunks +14 lines, -0 lines 0 comments Download
M Source/core/platform/PlatformInstrumentation.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp View 1 3 chunks +3 lines, -0 lines 2 comments Download
M Source/core/rendering/RenderLayerBacking.cpp View 1 1 chunk +0 lines, -1 line 0 comments Download
M public/web/WebDevToolsAgent.h View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
caseq
This is an alternative approach to what was done in https://codereview.chromium.org/16896007/
7 years, 6 months ago (2013-06-17 17:59:37 UTC) #1
caseq
Get layer tree id through to timeline agent instead of plumbing page identity to layer ...
7 years, 6 months ago (2013-06-26 12:49:22 UTC) #2
Justin Novosad
https://codereview.chromium.org/16878004/diff/7001/Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp File Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp (right): https://codereview.chromium.org/16878004/diff/7001/Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp#newcode198 Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp:198: PlatformInstrumentation::willRasterizeCanvas(); This will only measure deferred canvas rendering in ...
7 years, 6 months ago (2013-06-26 21:06:48 UTC) #3
caseq
https://codereview.chromium.org/16878004/diff/7001/Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp File Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp (right): https://codereview.chromium.org/16878004/diff/7001/Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp#newcode198 Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp:198: PlatformInstrumentation::willRasterizeCanvas(); Thanks, Justin, it's very helpful! I was originally ...
7 years, 5 months ago (2013-06-27 17:03:49 UTC) #4
Justin Novosad
On 2013/06/27 17:03:49, caseq wrote: > https://codereview.chromium.org/16878004/diff/7001/Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp > File Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp (right): > > https://codereview.chromium.org/16878004/diff/7001/Source/core/platform/graphics/chromium/Canvas2DLayerBridge.cpp#newcode198 > ...
7 years, 5 months ago (2013-06-27 18:46:58 UTC) #5
pfeldman
Is this still relevant?
7 years, 3 months ago (2013-08-26 11:38:30 UTC) #6
nduca
Deferred canvas flushing is a big performance cost so we definitely want to make sure ...
7 years, 3 months ago (2013-08-26 19:26:53 UTC) #7
Justin Novosad
On 2013/08/26 19:26:53, nduca wrote: > Deferred canvas flushing is a big performance cost so ...
7 years, 3 months ago (2013-08-26 19:39:02 UTC) #8
pfeldman
Closing for no response from caseq@.
7 years, 3 months ago (2013-08-30 09:19:28 UTC) #9
caseq
7 years, 3 months ago (2013-08-30 09:22:26 UTC) #10
Message was sent while issue was closed.
On 2013/08/30 09:19:28, pfeldman wrote:
> Closing for no response from caseq@.

Sorry about the delay. I'm working on the alternative approach, this one turned
to be instrumenting the wrong part of the code.

Powered by Google App Engine
This is Rietveld 408576698