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

Issue 208143003: Issue trace events to gather repaint information. (Closed)

Created:
6 years, 9 months ago by dsinclair
Modified:
6 years, 8 months ago
CC:
blink-reviews, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., rune+blink
Visibility:
Public.

Description

Issue trace events to gather repaint information. This CL adds a few trace events in to gather information about the cause and size of repaints. BUG=320139, 351498 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170486

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase to master #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Rebase to master. #

Patch Set 6 : Rebase to master #

Total comments: 6

Patch Set 7 : #

Total comments: 8

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -35 lines) Patch
M Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderFrameSet.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderLayerRepainter.cpp View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderLayerScrollableArea.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderObject.h View 1 2 3 4 5 6 7 3 chunks +17 lines, -1 line 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 3 4 5 6 7 9 chunks +64 lines, -25 lines 0 comments Download
M Source/core/rendering/RenderSelectionInfo.h View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
dsinclair
WIP I've started adding some trace events in for repainting. Wanted to get any feedback ...
6 years, 9 months ago (2014-03-21 14:19:17 UTC) #1
Julien - ping for review
https://codereview.chromium.org/208143003/diff/1/Source/core/rendering/RenderObject.cpp File Source/core/rendering/RenderObject.cpp (right): https://codereview.chromium.org/208143003/diff/1/Source/core/rendering/RenderObject.cpp#newcode1477 Source/core/rendering/RenderObject.cpp:1477: TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("blink.repaint"), "RenderObject::repaintRectangle()", Is there a lot of values in ...
6 years, 9 months ago (2014-03-21 18:35:34 UTC) #2
dsinclair
https://codereview.chromium.org/208143003/diff/1/Source/core/rendering/RenderObject.cpp File Source/core/rendering/RenderObject.cpp (right): https://codereview.chromium.org/208143003/diff/1/Source/core/rendering/RenderObject.cpp#newcode1477 Source/core/rendering/RenderObject.cpp:1477: TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("blink.repaint"), "RenderObject::repaintRectangle()", On 2014/03/21 18:35:34, Julien Chaffraix - PST ...
6 years, 9 months ago (2014-03-24 15:04:30 UTC) #3
dsinclair
+nduca to make sure I'm not doing anything bad with my trace events.
6 years, 9 months ago (2014-03-25 14:16:49 UTC) #4
nduca
seems pretty awesome. probes look find but every trace event of this form is a ...
6 years, 9 months ago (2014-03-26 20:54:45 UTC) #5
dsinclair
jchaffraix, ping.
6 years, 8 months ago (2014-03-31 14:04:59 UTC) #6
Julien - ping for review
https://codereview.chromium.org/208143003/diff/110001/Source/core/rendering/RenderObject.cpp File Source/core/rendering/RenderObject.cpp (right): https://codereview.chromium.org/208143003/diff/110001/Source/core/rendering/RenderObject.cpp#newcode1504 Source/core/rendering/RenderObject.cpp:1504: return "unknown"; ASSERT_NOT_REACHED()? https://codereview.chromium.org/208143003/diff/110001/Source/core/rendering/RenderObject.cpp#newcode1524 Source/core/rendering/RenderObject.cpp:1524: invalidationReason = InvalidationSelfLayout; We ...
6 years, 8 months ago (2014-03-31 18:26:44 UTC) #7
dsinclair
I opt'd to update all callers of repaintUsingContainer as it seemed like the nicer solution. ...
6 years, 8 months ago (2014-03-31 19:24:34 UTC) #8
Julien - ping for review
lgtm. It is a useful trace for anyone looking at invalidations so worth landing. Hopefully ...
6 years, 8 months ago (2014-03-31 20:11:03 UTC) #9
dsinclair
https://codereview.chromium.org/208143003/diff/130001/Source/core/rendering/RenderObject.cpp File Source/core/rendering/RenderObject.cpp (right): https://codereview.chromium.org/208143003/diff/130001/Source/core/rendering/RenderObject.cpp#newcode1483 Source/core/rendering/RenderObject.cpp:1483: const char* RenderObject::invalidationReasonToString(const InvalidationReason reason) const On 2014/03/31 20:11:04, ...
6 years, 8 months ago (2014-03-31 20:22:09 UTC) #10
dsinclair
The CQ bit was checked by dsinclair@chromium.org
6 years, 8 months ago (2014-03-31 20:22:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dsinclair@chromium.org/208143003/150001
6 years, 8 months ago (2014-03-31 20:22:29 UTC) #12
commit-bot: I haz the power
6 years, 8 months ago (2014-03-31 23:52:09 UTC) #13
Message was sent while issue was closed.
Change committed as 170486

Powered by Google App Engine
This is Rietveld 408576698