New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 589924 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
NOT IN USE
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug

Blocked on:
issue 567021



Sign in to add a comment

RenderView::ApplyWebPreferences causes a flood of calls to DocumentStyleSheetCollection::updateActiveStyleSheets

Project Member Reported by esprehn@chromium.org, Feb 25 2016

Issue description

When loading a new page you get 15 synchronous active sheet updates. Thankfully I think the Document is basically empty at this point, so we're just going through all this machinery for the UA sheet over and over, but it's still really silly.

mode=FullStyleUpdate resolverUpdateType=Reconstruct requiresFullStyleRecalc=true
#1 blink::DocumentStyleSheetCollection::updateActiveStyleSheets()
#2 blink::StyleEngine::updateActiveStyleSheets()
#3 blink::Page::settingsChanged()
#4 blink::WebSettingsImpl::setStandardFontFamily()
#5 content::RenderView::ApplyWebPreferences()
#6 content::RenderViewImpl::Initialize()
#7 content::RenderViewImpl::Create()

mode=FullStyleUpdate resolverUpdateType=Reconstruct requiresFullStyleRecalc=true
#1 blink::DocumentStyleSheetCollection::updateActiveStyleSheets()
#2 blink::StyleEngine::updateActiveStyleSheets()
#3 blink::Page::settingsChanged()
#4 blink::WebSettingsImpl::setFixedFontFamily()
#5 content::RenderView::ApplyWebPreferences()
#6 content::RenderViewImpl::Initialize()
#7 content::RenderViewImpl::Create()

mode=FullStyleUpdate resolverUpdateType=Reconstruct requiresFullStyleRecalc=true
#1 blink::DocumentStyleSheetCollection::updateActiveStyleSheets()
#2 blink::StyleEngine::updateActiveStyleSheets()
#3 blink::Page::settingsChanged()
#4 blink::WebSettingsImpl::setSerifFontFamily()
#5 content::RenderView::ApplyWebPreferences()
#6 content::RenderViewImpl::Initialize()
#7 content::RenderViewImpl::Create()

mode=FullStyleUpdate resolverUpdateType=Reconstruct requiresFullStyleRecalc=true
#1 blink::DocumentStyleSheetCollection::updateActiveStyleSheets()
#2 blink::StyleEngine::updateActiveStyleSheets()
#3 blink::Page::settingsChanged()
#4 blink::WebSettingsImpl::setSansSerifFontFamily()
#5 content::RenderView::ApplyWebPreferences()
#6 content::RenderViewImpl::Initialize()
#7 content::RenderViewImpl::Create()

mode=FullStyleUpdate resolverUpdateType=Reconstruct requiresFullStyleRecalc=true
#1 blink::DocumentStyleSheetCollection::updateActiveStyleSheets()
#2 blink::StyleEngine::updateActiveStyleSheets()
#3 blink::Page::settingsChanged()
#4 blink::WebSettingsImpl::setCursiveFontFamily()
#5 content::RenderView::ApplyWebPreferences()
#6 content::RenderViewImpl::Initialize()
#7 content::RenderViewImpl::Create()

mode=FullStyleUpdate resolverUpdateType=Reconstruct requiresFullStyleRecalc=true
#1 blink::DocumentStyleSheetCollection::updateActiveStyleSheets()
#2 blink::StyleEngine::updateActiveStyleSheets()
#3 blink::Page::settingsChanged()
#4 blink::WebSettingsImpl::setFantasyFontFamily()
#5 content::RenderView::ApplyWebPreferences()
#6 content::RenderViewImpl::Initialize()
#7 content::RenderViewImpl::Create()

mode=FullStyleUpdate resolverUpdateType=Reconstruct requiresFullStyleRecalc=true
#1 blink::DocumentStyleSheetCollection::updateActiveStyleSheets()
#2 blink::StyleEngine::updateActiveStyleSheets()
#3 blink::Page::settingsChanged()
#4 blink::WebSettingsImpl::setPictographFontFamily()
#5 content::RenderView::ApplyWebPreferences()
#6 content::RenderViewImpl::Initialize()
#7 content::RenderViewImpl::Create()

mode=FullStyleUpdate resolverUpdateType=Reconstruct requiresFullStyleRecalc=true
#1 blink::DocumentStyleSheetCollection::updateActiveStyleSheets()
#2 blink::StyleEngine::updateActiveStyleSheets()
#3 blink::Page::settingsChanged()
#4 content::RenderView::ApplyWebPreferences()
#5 content::RenderViewImpl::Initialize()
#6 content::RenderViewImpl::Create()

mode=FullStyleUpdate resolverUpdateType=Reconstruct requiresFullStyleRecalc=true
#1 blink::DocumentStyleSheetCollection::updateActiveStyleSheets()
#2 blink::StyleEngine::updateActiveStyleSheets()
#3 blink::Page::settingsChanged()
#4 content::RenderView::ApplyWebPreferences()
#5 content::RenderViewImpl::Initialize()
#6 content::RenderViewImpl::Create()

mode=FullStyleUpdate resolverUpdateType=Reconstruct requiresFullStyleRecalc=true
#1 blink::DocumentStyleSheetCollection::updateActiveStyleSheets()
#2 blink::StyleEngine::updateActiveStyleSheets()
#3 blink::Page::settingsChanged()
#4 content::RenderView::ApplyWebPreferences()
#5 content::RenderViewImpl::Initialize()
#6 content::RenderViewImpl::Create()

mode=FullStyleUpdate resolverUpdateType=Reconstruct requiresFullStyleRecalc=true
#1 blink::DocumentStyleSheetCollection::updateActiveStyleSheets()
#2 blink::StyleEngine::updateActiveStyleSheets()
#3 blink::Page::settingsChanged()
#4 content::RenderView::ApplyWebPreferences()
#5 content::RenderViewImpl::Initialize()
#6 content::RenderViewImpl::Create()

mode=FullStyleUpdate resolverUpdateType=Reconstruct requiresFullStyleRecalc=true
#1 blink::DocumentStyleSheetCollection::updateActiveStyleSheets()
#2 blink::StyleEngine::updateActiveStyleSheets()
#3 blink::Document::mediaQueryAffectingValueChanged()
#4 blink::Page::settingsChanged()
#5 content::RenderView::ApplyWebPreferences()
#6 content::RenderViewImpl::Initialize()
#7 content::RenderViewImpl::Create()

mode=FullStyleUpdate resolverUpdateType=Reconstruct requiresFullStyleRecalc=true
#1 blink::DocumentStyleSheetCollection::updateActiveStyleSheets()
#2 blink::StyleEngine::updateActiveStyleSheets()
#3 blink::Document::mediaQueryAffectingValueChanged()
#4 blink::Page::settingsChanged()
#5 content::RenderView::ApplyWebPreferences()
#6 content::RenderViewImpl::Initialize()
#7 content::RenderViewImpl::Create()

mode=FullStyleUpdate resolverUpdateType=Reconstruct requiresFullStyleRecalc=true
#1 blink::DocumentStyleSheetCollection::updateActiveStyleSheets()
#2 blink::StyleEngine::updateActiveStyleSheets()
#3 blink::Document::mediaQueryAffectingValueChanged()
#4 blink::Page::settingsChanged()
#5 content::RenderView::ApplyWebPreferences()
#6 content::RenderViewImpl::Initialize()
#7 content::RenderViewImpl::Create()

mode=FullStyleUpdate resolverUpdateType=Reconstruct requiresFullStyleRecalc=true
#1 blink::DocumentStyleSheetCollection::updateActiveStyleSheets()
#2 blink::StyleEngine::updateActiveStyleSheets()
#3 blink::Document::mediaQueryAffectingValueChanged()
#4 blink::Page::settingsChanged()
#5 content::RenderView::ApplyWebPreferences()
#6 content::RenderViewImpl::Initialize()
#7 content::RenderViewImpl::Create()
 
Status: Available (was: Unconfirmed)

Comment 2 by r...@opera.com, Feb 29 2016

Blockedon: 567021
Labels: Performance

Comment 4 by r...@opera.com, Jan 5 2017

Cc: -r...@opera.com
Owner: r...@opera.com
Status: Fixed (was: Available)

Sign in to add a comment