New issue
Advanced search Search tips

Issue 641423 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 677839
Owner: ----
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

FrameView::performLayout takes a long time

Project Member Reported by vmp...@chromium.org, Aug 26 2016

Issue description

When resizing a window on some of our build logs, layout takes ~500ms. It's all plain text and from what I can see no layout is actually changed, just scrollbars are updated.

Here's a sample log (which may or may not disappear, but you can grab any latest large log for repro)

https://build.chromium.org/p/chromium.gpu.fyi/builders/Win7%20Release%20%28NVIDIA%29/builds/27151/steps/trace_test%20on%20NVIDIA%20GPU%20on%20Windows%20on%20Windows-2008ServerR2-SP1/logs/stdio

I just wanted to file a bug to see if people had any thoughts or ideas on how we can improve this / optimize this. 

(assigning to eae@ as per discussion with chrishtr@)
 

Comment 1 by e...@chromium.org, Aug 26 2016

Blockedon: 609117
Cc: e...@chromium.org
Owner: ----
Status: Available (was: Assigned)
Resizing the window triggers line wrapping which is the slowest part of layout. Pages with a lot of text have a lot of lines to re-wrap which explains the slowness.

We have two ongoing projects to address this, shaper driven line breaking ( issue 609117 ) and LayoutNG (issue 591099).

Comment 2 by e...@chromium.org, Jan 2 2017

Blockedon: -609117
Mergedinto: 677839
Status: Duplicate (was: Available)

Sign in to add a comment