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

Issue 22463002: Optimize FloatIntervalSearchAdapter::collectIfNeeded (Closed)

Created:
7 years, 4 months ago by shatch
Modified:
7 years, 4 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Optimize FloatIntervalSearchAdapter::collectIfNeeded by reducing calls to logical(Left/Right/Bottom)ForFloat. Brings average page load time of bookish.com (from tough_layout_cases) from ~4100 ms to ~2800ms on my z620. BUG=260903 R=eseidel@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155958

Patch Set 1 #

Patch Set 2 : Removed getOffset(). #

Patch Set 3 : Rebased and merged. #

Total comments: 2

Patch Set 4 : Changes from review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -25 lines) Patch
M Source/core/rendering/RenderBlock.h View 1 2 3 chunks +7 lines, -10 lines 0 comments Download
M Source/core/rendering/RenderBlock.cpp View 1 2 3 5 chunks +23 lines, -15 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
shatch
7 years, 4 months ago (2013-08-09 22:37:02 UTC) #1
eseidel
It looks like you and I are going to conflict: https://codereview.chromium.org/22493015/ I'm happy to take ...
7 years, 4 months ago (2013-08-09 23:15:08 UTC) #2
eseidel
lgtm
7 years, 4 months ago (2013-08-09 23:18:09 UTC) #3
ojan
Change description nit: I believe this patch improves performance, but I doubt that it's from ...
7 years, 4 months ago (2013-08-10 17:26:44 UTC) #4
shatch
On 2013/08/10 17:26:44, ojan wrote: > Change description nit: I believe this patch improves performance, ...
7 years, 4 months ago (2013-08-12 16:14:35 UTC) #5
shatch
Rebased and merged with latest, ptal
7 years, 4 months ago (2013-08-12 19:51:30 UTC) #6
eseidel
7 years, 4 months ago (2013-08-12 22:12:17 UTC) #7
eseidel
lgtm. Lets let Bem lgtm too. We're hacking on floats today. https://codereview.chromium.org/22463002/diff/11001/Source/core/rendering/RenderBlock.cpp File Source/core/rendering/RenderBlock.cpp (right): ...
7 years, 4 months ago (2013-08-12 22:13:29 UTC) #8
shatch
Cool, waiting for Bem's review! https://codereview.chromium.org/22463002/diff/11001/Source/core/rendering/RenderBlock.cpp File Source/core/rendering/RenderBlock.cpp (right): https://codereview.chromium.org/22463002/diff/11001/Source/core/rendering/RenderBlock.cpp#newcode4283 Source/core/rendering/RenderBlock.cpp:4283: if (floatIsNewExtreme) { On ...
7 years, 4 months ago (2013-08-12 22:20:33 UTC) #9
Bem Jones-Bey (adobe)
lgtm. I think that we only need one of m_last and m_floatForHeight, but I'll work ...
7 years, 4 months ago (2013-08-12 22:28:33 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonhatch@chromium.org/22463002/21001
7 years, 4 months ago (2013-08-12 22:32:30 UTC) #11
eseidel
Committed patchset #4 manually as r155958 (presubmit successful).
7 years, 4 months ago (2013-08-12 22:43:21 UTC) #12
shatch
7 years, 4 months ago (2013-08-13 16:30:48 UTC) #13
Message was sent while issue was closed.
On 2013/08/12 22:43:21, eseidel wrote:
> Committed patchset #4 manually as r155958 (presubmit successful).

~20% improvement on Layout_floats_50_100 in blink_perf and overall ~8-10 on page
load time for tough_layout_cases! Yay!

https://chromeperf.appspot.com/report?rev=216854&masters=ChromiumPerf&bots=ch...

https://chromeperf.appspot.com/report?masters=ChromiumPerf&bots=android-nexus...

Powered by Google App Engine
This is Rietveld 408576698