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

Issue 2399233002: Add histograms to the rendez-vous process (ProcessSingleton). (Closed)

Created:
4 years, 2 months ago by gab
Modified:
4 years, 2 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, manzagop (departed), bcwhite
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add histograms to the rendez-vous process (ProcessSingleton). These will, among other things, help understand the potential impact of a faster shutdown path. Such histograms have tried to exist in the past and failed (http://crrev.com/254112) but persistent UMA makes this possible again! BUG=653647 Committed: https://crrev.com/439f54f40ed4c48703e517e5c140c4b6090ebdcc Cr-Commit-Position: refs/heads/master@{#423987}

Patch Set 1 #

Patch Set 2 : +comment about lacking fast notification path timing #

Total comments: 5

Patch Set 3 : comment on NotifyResult #

Total comments: 4

Patch Set 4 : merge up to r423894 #

Patch Set 5 : no extra enum value for count #

Patch Set 6 : fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -9 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/process_singleton.h View 1 2 3 4 5 1 chunk +8 lines, -4 lines 0 comments Download
M chrome/browser/process_singleton_posix.cc View 3 chunks +26 lines, -2 lines 0 comments Download
M chrome/browser/process_singleton_win.cc View 3 chunks +13 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +40 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (19 generated)
gab
Alexei PTAL. I didn't find all the knobs to tickle to make persistent UMA work ...
4 years, 2 months ago (2016-10-06 22:20:54 UTC) #5
manzagop (departed)
lgtm https://codereview.chromium.org/2399233002/diff/20001/chrome/browser/process_singleton.h File chrome/browser/process_singleton.h (right): https://codereview.chromium.org/2399233002/diff/20001/chrome/browser/process_singleton.h#newcode52 chrome/browser/process_singleton.h:52: enum NotifyResult { Add comment that these are ...
4 years, 2 months ago (2016-10-07 14:23:29 UTC) #7
Alexei Svitkine (slow)
lgtm % manzagop's comments Thanks!
4 years, 2 months ago (2016-10-07 15:01:25 UTC) #8
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/2399233002/40001
4 years, 2 months ago (2016-10-07 16:11:59 UTC) #11
gab
Thanks https://codereview.chromium.org/2399233002/diff/20001/chrome/browser/process_singleton.h File chrome/browser/process_singleton.h (right): https://codereview.chromium.org/2399233002/diff/20001/chrome/browser/process_singleton.h#newcode52 chrome/browser/process_singleton.h:52: enum NotifyResult { On 2016/10/07 14:23:29, manzagop wrote: ...
4 years, 2 months ago (2016-10-07 16:12:04 UTC) #12
bcwhite
I don't think that histogram persistence isn't going to help you here because it doesn't ...
4 years, 2 months ago (2016-10-07 16:17:44 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/276478)
4 years, 2 months ago (2016-10-07 16:21:39 UTC) #16
gab
On 2016/10/07 16:17:44, bcwhite wrote: > I don't think that histogram persistence isn't going to ...
4 years, 2 months ago (2016-10-07 16:34:15 UTC) #17
gab
+sky for chrome/browser OWNER
4 years, 2 months ago (2016-10-07 16:35:34 UTC) #19
bcwhite
https://codereview.chromium.org/2399233002/diff/20001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2399233002/diff/20001/chrome/browser/chrome_browser_main.cc#newcode1685 chrome/browser/chrome_browser_main.cc:1685: case ProcessSingleton::NUM_NOTIFY_RESULTS: On 2016/10/07 16:34:14, gab wrote: > On ...
4 years, 2 months ago (2016-10-07 16:59:45 UTC) #20
sky
https://codereview.chromium.org/2399233002/diff/40001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2399233002/diff/40001/chrome/browser/chrome_browser_main.cc#newcode1685 chrome/browser/chrome_browser_main.cc:1685: case ProcessSingleton::NUM_NOTIFY_RESULTS: Having to delete with fake enum values ...
4 years, 2 months ago (2016-10-07 19:47:30 UTC) #21
sky
On Fri, Oct 7, 2016 at 12:47 PM, <sky@chromium.org> wrote: > > https://codereview.chromium.org/2399233002/diff/40001/chrome/browser/chrome_browser_main.cc > File ...
4 years, 2 months ago (2016-10-07 20:04:32 UTC) #24
gab
https://codereview.chromium.org/2399233002/diff/40001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/2399233002/diff/40001/chrome/browser/chrome_browser_main.cc#newcode1685 chrome/browser/chrome_browser_main.cc:1685: case ProcessSingleton::NUM_NOTIFY_RESULTS: On 2016/10/07 19:47:30, sky wrote: > Having ...
4 years, 2 months ago (2016-10-07 20:05:47 UTC) #25
sky
LGTM
4 years, 2 months ago (2016-10-07 20:06:39 UTC) #26
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/2399233002/80001
4 years, 2 months ago (2016-10-07 20:10:53 UTC) #30
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/2399233002/100001
4 years, 2 months ago (2016-10-07 20:22:06 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-10-07 22:24:43 UTC) #35
commit-bot: I haz the power
4 years, 2 months ago (2016-10-07 22:28:25 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/439f54f40ed4c48703e517e5c140c4b6090ebdcc
Cr-Commit-Position: refs/heads/master@{#423987}

Powered by Google App Engine
This is Rietveld 408576698