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

Issue 315293003: Add tracing for RenderView::hitTest and FrameView::invalidateTree. (Closed)

Created:
6 years, 6 months ago by chrishtr
Modified:
6 years, 6 months ago
Reviewers:
dsinclair, ojan
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Visibility:
Public.

Description

Add tracing for RenderView::hitTest and FrameView::invalidateTree. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175635

Patch Set 1 #

Patch Set 2 : Implement. #

Total comments: 5

Patch Set 3 : Remove redundant trace. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M Source/core/rendering/RenderView.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
chrishtr
6 years, 6 months ago (2014-06-06 01:54:46 UTC) #1
ojan
lgtm
6 years, 6 months ago (2014-06-06 01:55:09 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/315293003/20001
6 years, 6 months ago (2014-06-06 01:56:05 UTC) #3
dsinclair
https://codereview.chromium.org/315293003/diff/20001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/315293003/diff/20001/Source/core/frame/FrameView.cpp#newcode1039 Source/core/frame/FrameView.cpp:1039: TRACE_EVENT0("blink", "FrameView::invalidateTree"); This already exists on line 1047.
6 years, 6 months ago (2014-06-06 01:59:03 UTC) #4
chrishtr
The CQ bit was unchecked by chrishtr@chromium.org
6 years, 6 months ago (2014-06-06 02:06:42 UTC) #5
chrishtr
https://codereview.chromium.org/315293003/diff/20001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/315293003/diff/20001/Source/core/frame/FrameView.cpp#newcode1039 Source/core/frame/FrameView.cpp:1039: TRACE_EVENT0("blink", "FrameView::invalidateTree"); On 2014/06/06 01:59:03, dsinclair wrote: > This ...
6 years, 6 months ago (2014-06-06 02:08:03 UTC) #6
chrishtr
The CQ bit was checked by chrishtr@chromium.org
6 years, 6 months ago (2014-06-06 02:08:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/315293003/40001
6 years, 6 months ago (2014-06-06 02:09:06 UTC) #8
ojan
https://codereview.chromium.org/315293003/diff/20001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/315293003/diff/20001/Source/core/frame/FrameView.cpp#newcode1039 Source/core/frame/FrameView.cpp:1039: TRACE_EVENT0("blink", "FrameView::invalidateTree"); Why is the one on line 1047 ...
6 years, 6 months ago (2014-06-06 03:22:38 UTC) #9
dsinclair
https://codereview.chromium.org/315293003/diff/20001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/315293003/diff/20001/Source/core/frame/FrameView.cpp#newcode1039 Source/core/frame/FrameView.cpp:1039: TRACE_EVENT0("blink", "FrameView::invalidateTree"); On 2014/06/06 03:22:38, ojan wrote: > Why ...
6 years, 6 months ago (2014-06-06 03:29:27 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-06 03:56:19 UTC) #11
commit-bot: I haz the power
Change committed as 175635
6 years, 6 months ago (2014-06-06 04:18:02 UTC) #12
ojan
https://codereview.chromium.org/315293003/diff/20001/Source/core/frame/FrameView.cpp File Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/315293003/diff/20001/Source/core/frame/FrameView.cpp#newcode1039 Source/core/frame/FrameView.cpp:1039: TRACE_EVENT0("blink", "FrameView::invalidateTree"); On 2014/06/06 03:29:27, dsinclair wrote: > On ...
6 years, 6 months ago (2014-06-06 05:53:11 UTC) #13
dsinclair
On 2014/06/06 05:53:11, ojan wrote: > https://codereview.chromium.org/315293003/diff/20001/Source/core/frame/FrameView.cpp > File Source/core/frame/FrameView.cpp (right): > > https://codereview.chromium.org/315293003/diff/20001/Source/core/frame/FrameView.cpp#newcode1039 > ...
6 years, 6 months ago (2014-06-06 13:25:26 UTC) #14
ojan
6 years, 6 months ago (2014-06-06 17:23:19 UTC) #15
Message was sent while issue was closed.
On 2014/06/06 at 13:25:26, dsinclair wrote:
> On 2014/06/06 05:53:11, ojan wrote:
> >
https://codereview.chromium.org/315293003/diff/20001/Source/core/frame/FrameV...
> > File Source/core/frame/FrameView.cpp (right):
> > 
> >
https://codereview.chromium.org/315293003/diff/20001/Source/core/frame/FrameV...
> > Source/core/frame/FrameView.cpp:1039: TRACE_EVENT0("blink",
> > "FrameView::invalidateTree");
> > On 2014/06/06 03:29:27, dsinclair wrote:
> > > On 2014/06/06 03:22:38, ojan wrote:
> > > > Why is the one on line 1047 disabled by default?
> > > 
> > > The TRACE_STR_COPY has a cost which I didn't want to incur in the default
> > case.
> > 
> > Can we put in a trace (instead or in addition the the one below) that is
enabled
> > by default that doesn't add the root parameter? Having the trace by default
is
> > more useful than having the trace with the extra information. When we were
> > looking at the trace today, there was this untraced block and we had to
stare at
> > the code and add speculative traces to see where the time was going.
> 
> 
> We can try just making the category:
> 
> "blink," TRACE_DISABLED_BY_DEFAULT("blink.invalidation")

Lets do it!

Powered by Google App Engine
This is Rietveld 408576698