The browser process gets very busy due to RenderFrameHostImpl::OnDidCommitProvisionalLoad |
||
Issue descriptionThe 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.
,
Nov 19 2016
Is it reproducible? This is very bad!
,
Nov 19 2016
I wonder if this is due to a bloated PageState which can get very big. The first very long tasks are FrameHostMsg_UpdateStates.
,
Nov 19 2016
I encounter the issue more than once a day, but I haven't found any reproducible trigger.
,
Nov 19 2016
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.
,
Nov 19 2016
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 |
||
Comment 1 by yhirano@chromium.org
, Nov 19 2016