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

Issue 1606943005: Adds UMA for counting component event page wakeups. (Closed)

Created:
4 years, 11 months ago by mark a. foltz
Modified:
4 years, 11 months ago
CC:
asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds UMA for counting component event page wakeups. This adds a histogram for counting events that wake up component event pages. This will be especially helpful for optimizing the behavior of the Media Router which (I believe) is the only component event page for certain network events (chrome.dial, chrome.mdns, chrome.cast.*). Also adds a unit test case for EventRouter::ReportEvent. BUG=563883 Committed: https://crrev.com/36f10145aa44e80260fa312d5771940d9289533f Cr-Commit-Position: refs/heads/master@{#370763}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use std::move properly #

Total comments: 1

Patch Set 3 : Adds histogram expectations, and some comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -1 line) Patch
M extensions/browser/event_router.cc View 1 2 chunks +8 lines, -1 line 0 comments Download
M extensions/browser/event_router_unittest.cc View 1 2 4 chunks +105 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
imcheng
https://codereview.chromium.org/1606943005/diff/1/extensions/browser/event_router_unittest.cc File extensions/browser/event_router_unittest.cc (right): https://codereview.chromium.org/1606943005/diff/1/extensions/browser/event_router_unittest.cc#newcode94 extensions/browser/event_router_unittest.cc:94: return manifest; It should compile if you changed this ...
4 years, 11 months ago (2016-01-20 18:28:21 UTC) #2
mark a. foltz
+isherman for histograms.xml +benwells for everything else PTAL
4 years, 11 months ago (2016-01-20 21:56:58 UTC) #5
mark a. foltz
https://codereview.chromium.org/1606943005/diff/1/extensions/browser/event_router_unittest.cc File extensions/browser/event_router_unittest.cc (right): https://codereview.chromium.org/1606943005/diff/1/extensions/browser/event_router_unittest.cc#newcode94 extensions/browser/event_router_unittest.cc:94: return manifest; On 2016/01/20 at 18:28:21, imcheng1 wrote: > ...
4 years, 11 months ago (2016-01-20 21:58:07 UTC) #6
Ilya Sherman
histograms lgtm
4 years, 11 months ago (2016-01-20 23:01:11 UTC) #7
benwells
lgtm with a nit https://codereview.chromium.org/1606943005/diff/20001/extensions/browser/event_router_unittest.cc File extensions/browser/event_router_unittest.cc (right): https://codereview.chromium.org/1606943005/diff/20001/extensions/browser/event_router_unittest.cc#newcode263 extensions/browser/event_router_unittest.cc:263: ExpectHistogramCounts(5, 1, 2, 1, 0, ...
4 years, 11 months ago (2016-01-20 23:23:36 UTC) #8
mark a. foltz
On 2016/01/20 at 23:23:36, benwells wrote: > lgtm with a nit > > https://codereview.chromium.org/1606943005/diff/20001/extensions/browser/event_router_unittest.cc > ...
4 years, 11 months ago (2016-01-21 18:32:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1606943005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1606943005/40001
4 years, 11 months ago (2016-01-21 18:34:56 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-21 20:01:59 UTC) #13
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 20:03:00 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/36f10145aa44e80260fa312d5771940d9289533f
Cr-Commit-Position: refs/heads/master@{#370763}

Powered by Google App Engine
This is Rietveld 408576698