New issue
Advanced search Search tips

Issue 667015 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug



Sign in to add a comment

The browser process gets very busy due to RenderFrameHostImpl::OnDidCommitProvisionalLoad

Project Member Reported by yhirano@chromium.org, Nov 19 2016

Issue description

The browser process becomes very busy noticeably.

I have a trace log. According to the log, many RenderFrameHostImpl::OnDidCommitProvisionalLoad are running and each of them takes more than a second in CrBrowserMain.


 
trace_browser-hung.json.gz
6.4 MB Download
Version: 54.0.2840.99 m (64-bit)
Is it reproducible? This is very bad!
I wonder if this is due to a bloated PageState which can get very big. The first very long tasks are FrameHostMsg_UpdateStates.
I encounter the issue more than once a day, but I haven't found any reproducible trigger.
I am reproing a stream of OnDidCommitProvisionalLoads in the browser process by navigating to
http://www.parentherald.com/articles/83063/20161109/the-winds-of-winter-george-rr-martin-hillary-clinton-us-election.htm

But not quite as many as the trace you've logged.
Cc: creis@chromium.org
Confirmed that a big part of the CPU load for the DidCommitProvisionalLoads come from the doing stuff with getting the PageState and some related actions.

+creis for subframe navigation entries, which are showing up in profiles here:
https://cs.chromium.org/chromium/src/content/browser/frame_host/navigation_controller_impl.cc?rcl=1479284732&l=852

My hunch is that there isn't much we can do here, but I could be wrong.

Sign in to add a comment