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

Issue 16599016: Add UMA stats for predicted process counts with out-of-process iframes. (Closed)

Created:
7 years, 6 months ago by Charlie Reis
Modified:
7 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, creis+watch_chromium.org, ajwong+watch_chromium.org, chromium-site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Add UMA stats for predicted process counts with out-of-process iframes. Requires adding the committed URL to each FrameTreeNode and exposing the ShouldUseProcessPerSite function outside content. BUG=248299 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=206286

Patch Set 1 : Initial patch. #

Patch Set 2 : Add BrowsingInstance count, fix clang #

Total comments: 6

Patch Set 3 : Fix nit. #

Total comments: 6

Patch Set 4 : Move site calculations to site_details.h #

Patch Set 5 : Update hash_tables.h include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -14 lines) Patch
M chrome/browser/memory_details.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/memory_details.cc View 1 2 3 4 chunks +14 lines, -1 line 0 comments Download
A chrome/browser/site_details.h View 1 2 3 4 1 chunk +53 lines, -0 lines 0 comments Download
A chrome/browser/site_details.cc View 1 2 3 1 chunk +147 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/site_instance_impl.cc View 3 chunks +3 lines, -4 lines 0 comments Download
M content/browser/web_contents/frame_tree_node.h View 1 2 3 3 chunks +15 lines, -0 lines 0 comments Download
M content/browser/web_contents/render_view_host_manager.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 2 chunks +32 lines, -0 lines 0 comments Download
M content/public/browser/render_process_host.h View 1 chunk +6 lines, -0 lines 0 comments Download
M content/public/browser/web_contents.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Charlie Reis
Nasko, can you take a first look over this?
7 years, 6 months ago (2013-06-11 01:03:20 UTC) #1
nasko
As we discussed, let's add the number of BrowsingInstances to the data, so we have ...
7 years, 6 months ago (2013-06-11 17:48:32 UTC) #2
Charlie Reis
On 2013/06/11 17:48:32, nasko wrote: > As we discussed, let's add the number of BrowsingInstances ...
7 years, 6 months ago (2013-06-11 19:11:40 UTC) #3
nasko
Couple of nits and a question. https://codereview.chromium.org/16599016/diff/11001/chrome/browser/memory_details.cc File chrome/browser/memory_details.cc (right): https://codereview.chromium.org/16599016/diff/11001/chrome/browser/memory_details.cc#newcode406 chrome/browser/memory_details.cc:406: iter != sites_in_tab.end(); ...
7 years, 6 months ago (2013-06-11 20:16:37 UTC) #4
Charlie Reis
https://codereview.chromium.org/16599016/diff/11001/chrome/browser/memory_details.cc File chrome/browser/memory_details.cc (right): https://codereview.chromium.org/16599016/diff/11001/chrome/browser/memory_details.cc#newcode406 chrome/browser/memory_details.cc:406: iter != sites_in_tab.end(); ++iter) { On 2013/06/11 20:16:37, nasko ...
7 years, 6 months ago (2013-06-11 21:36:39 UTC) #5
nasko
lgtm
7 years, 6 months ago (2013-06-11 21:46:39 UTC) #6
Charlie Reis
Darin, can you review for owners approval?
7 years, 6 months ago (2013-06-11 21:51:55 UTC) #7
darin (slow to review)
LGTM https://codereview.chromium.org/16599016/diff/21001/chrome/browser/memory_details.cc File chrome/browser/memory_details.cc (right): https://codereview.chromium.org/16599016/diff/21001/chrome/browser/memory_details.cc#newcode378 chrome/browser/memory_details.cc:378: void MemoryDetails::CollectSiteInfo(WebContents* contents) { nit: It is perhaps ...
7 years, 6 months ago (2013-06-12 04:40:48 UTC) #8
Charlie Reis
Thanks, PTAL. https://codereview.chromium.org/16599016/diff/21001/chrome/browser/memory_details.cc File chrome/browser/memory_details.cc (right): https://codereview.chromium.org/16599016/diff/21001/chrome/browser/memory_details.cc#newcode378 chrome/browser/memory_details.cc:378: void MemoryDetails::CollectSiteInfo(WebContents* contents) { On 2013/06/12 04:40:48, ...
7 years, 6 months ago (2013-06-12 18:59:16 UTC) #9
darin (slow to review)
LGTM
7 years, 6 months ago (2013-06-12 19:27:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/16599016/33001
7 years, 6 months ago (2013-06-12 20:39:03 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=137788
7 years, 6 months ago (2013-06-12 23:10:57 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/16599016/33001
7 years, 6 months ago (2013-06-12 23:13:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/16599016/33001
7 years, 6 months ago (2013-06-13 02:56:38 UTC) #14
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-13 04:57:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/16599016/33001
7 years, 6 months ago (2013-06-13 23:26:38 UTC) #16
commit-bot: I haz the power
7 years, 6 months ago (2013-06-14 03:38:58 UTC) #17
Message was sent while issue was closed.
Change committed as 206286

Powered by Google App Engine
This is Rietveld 408576698