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

Issue 2931633002: Add a metric to check how often SiteInstances can reuse processes (Closed)

Created:
3 years, 6 months ago by clamy
Modified:
3 years, 6 months ago
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, asvitkine+watch_chromium.org, creis+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a metric to check how often SiteInstances can reuse processes We introduced a mechanism that allows SiteInstances to try to reuse RenderProcessHosts in https://codereview.chromium.org/2857213005. This CL adds a metric to check how often ProcessReusePolicy::REUSE_CHECKING_FRAMES_AND_NAVIGATIONS leads to the reuse of an existing RenderPorcessHost. BUG=705318 Review-Url: https://codereview.chromium.org/2931633002 Cr-Commit-Position: refs/heads/master@{#479407} Committed: https://chromium.googlesource.com/chromium/src/+/014fa484cfd3972bfae6296776502369750a6ed2

Patch Set 1 #

Total comments: 9

Patch Set 2 : Rebase #

Patch Set 3 : Addressed comments #

Total comments: 2

Patch Set 4 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -0 lines) Patch
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/enums.xml View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (16 generated)
clamy
@creis, isherman: PTAL
3 years, 6 months ago (2017-06-07 15:58:56 UTC) #5
Ilya Sherman
https://codereview.chromium.org/2931633002/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2931633002/diff/1/tools/metrics/histograms/histograms.xml#newcode70544 tools/metrics/histograms/histograms.xml:70544: +<histogram name="SiteInstance.ReusePendingOrComittedSiteCouldReuse" Optional nit: I'd add a dot between ...
3 years, 6 months ago (2017-06-07 19:53:16 UTC) #8
Charlie Reis
LGTM with nits. I'm curious to get the data. Keep in mind that alexmos@ just ...
3 years, 6 months ago (2017-06-07 20:15:33 UTC) #9
clamy
Thanks! https://codereview.chromium.org/2931633002/diff/1/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/2931633002/diff/1/content/browser/renderer_host/render_process_host_impl.cc#newcode3082 content/browser/renderer_host/render_process_host_impl.cc:3082: UMA_HISTOGRAM_BOOLEAN("SiteInstance.ReusePendingOrComittedSiteCouldReuse", On 2017/06/07 20:15:33, Charlie Reis wrote: > ...
3 years, 6 months ago (2017-06-13 15:04:48 UTC) #11
Ilya Sherman
LGTM % a comment: https://codereview.chromium.org/2931633002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2931633002/diff/40001/tools/metrics/histograms/histograms.xml#newcode71119 tools/metrics/histograms/histograms.xml:71119: + enum="BooleanEnabled"> Please define a ...
3 years, 6 months ago (2017-06-13 21:39:13 UTC) #15
clamy
Thanks! https://codereview.chromium.org/2931633002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2931633002/diff/40001/tools/metrics/histograms/histograms.xml#newcode71119 tools/metrics/histograms/histograms.xml:71119: + enum="BooleanEnabled"> On 2017/06/13 21:39:13, Ilya Sherman wrote: ...
3 years, 6 months ago (2017-06-14 12:11:01 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2931633002/60001
3 years, 6 months ago (2017-06-14 12:11:31 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/199678)
3 years, 6 months ago (2017-06-14 14:37:59 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2931633002/60001
3 years, 6 months ago (2017-06-14 15:21:09 UTC) #23
commit-bot: I haz the power
3 years, 6 months ago (2017-06-14 16:15:26 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/014fa484cfd3972bfae629677650...

Powered by Google App Engine
This is Rietveld 408576698