Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(19)

Issue 1202413003: SP: Optimize calculating cull rects for inline text and ellipsis boxes. (Closed)

Created:
4 years, 10 months ago by chrishtr
Modified:
4 years, 10 months ago
Reviewers:
pdr., wkorman
CC:
blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-rendering, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

SP: Optimize calculating cull rects for inline text and ellipsis boxes. This patch avoids creating new layout rect objects and going through extra branches and function calls in the common case that we are painting regular LTR text. This showed up as a significant portion of total record time on a Reddit comment page. BUG=503705 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197700

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -8 lines) Patch
M Source/core/layout/line/InlineBox.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/line/InlineBox.cpp View 1 chunk +7 lines, -5 lines 1 comment Download
M Source/core/paint/EllipsisBoxPainter.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/paint/InlineTextBoxPainter.cpp View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 13 (5 generated)
chrishtr
4 years, 10 months ago (2015-06-24 00:13:11 UTC) #2
pdr.
LGTM
4 years, 10 months ago (2015-06-24 00:16:16 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1202413003/1
4 years, 10 months ago (2015-06-24 00:17:02 UTC) #5
wkorman
We still have another variant doing it the old way, may be worth changing separately ...
4 years, 10 months ago (2015-06-24 00:45:54 UTC) #7
chrishtr
On 2015/06/24 at 00:45:54, wkorman wrote: > We still have another variant doing it the ...
4 years, 10 months ago (2015-06-24 01:46:43 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/68004)
4 years, 10 months ago (2015-06-24 02:55:40 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1202413003/1
4 years, 10 months ago (2015-06-24 03:30:19 UTC) #12
commit-bot: I haz the power
4 years, 10 months ago (2015-06-24 04:25:21 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197700

Powered by Google App Engine
This is Rietveld 408576698