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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2931633002: Add a metric to check how often SiteInstances can reuse processes (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | tools/metrics/histograms/histograms.xml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index e26d27268380eb4b5c3bdcbbf32032083c1372ad..67c880e1817584866f580ade9cd40bdf66da7a2c 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -3079,6 +3079,8 @@ RenderProcessHost* RenderProcessHostImpl::GetProcessHostForSiteInstance(
case SiteInstanceImpl::ProcessReusePolicy::REUSE_PENDING_OR_COMMITTED_SITE:
render_process_host =
FindReusableProcessHostForSite(browser_context, site_url);
+ UMA_HISTOGRAM_BOOLEAN("SiteInstance.ReusePendingOrComittedSiteCouldReuse",
Charlie Reis 2017/06/07 20:15:33 typo: Committed
clamy 2017/06/13 15:04:47 Done.
+ render_process_host != nullptr);
break;
default:
break;
« no previous file with comments | « no previous file | tools/metrics/histograms/histograms.xml » ('j') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698