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

Issue 1133853007: Add UMA to record the ratio of how many fetch events are not handled (Closed)

Created:
5 years, 7 months ago by kinuko
Modified:
5 years, 7 months ago
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, nhiroki, darin-cc_chromium.org, asvitkine+watch_chromium.org, horo+watch_chromium.org, kinuko+serviceworker, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA to record the ratio of how many fetch events are not handled BUG=483354 TEST=n/a Committed: https://crrev.com/384c156655a355bec5d1dd8e80165bc874051202 Cr-Commit-Position: refs/heads/master@{#330140}

Patch Set 1 #

Total comments: 4

Patch Set 2 : build fix, addressed comments #

Patch Set 3 : size_t #

Total comments: 4

Patch Set 4 : addressed comments #

Total comments: 4

Patch Set 5 : addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -0 lines) Patch
M content/browser/service_worker/service_worker_metrics.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_metrics.cc View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_version.h View 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 2 3 chunks +24 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
kinuko
asvitkine@: could you take a look at histogram changes? nhiroki@: could you take a look?
5 years, 7 months ago (2015-05-14 17:22:42 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/1133853007/diff/1/content/browser/service_worker/service_worker_metrics.cc File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/1133853007/diff/1/content/browser/service_worker/service_worker_metrics.cc#newcode113 content/browser/service_worker/service_worker_metrics.cc:113: 100.0 / static_cast<double>(fired_events); Nit: I don't think you actually ...
5 years, 7 months ago (2015-05-14 17:49:59 UTC) #3
kinuko
Thanks, updated. https://codereview.chromium.org/1133853007/diff/1/content/browser/service_worker/service_worker_metrics.cc File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/1133853007/diff/1/content/browser/service_worker/service_worker_metrics.cc#newcode113 content/browser/service_worker/service_worker_metrics.cc:113: 100.0 / static_cast<double>(fired_events); On 2015/05/14 17:49:59, Alexei ...
5 years, 7 months ago (2015-05-15 00:05:37 UTC) #5
nhiroki
https://codereview.chromium.org/1133853007/diff/60001/content/browser/service_worker/service_worker_metrics.cc File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/1133853007/diff/60001/content/browser/service_worker/service_worker_metrics.cc#newcode113 content/browser/service_worker/service_worker_metrics.cc:113: if (handled_events > 0u) This should be |fired_events| to ...
5 years, 7 months ago (2015-05-15 02:41:26 UTC) #6
kinuko
https://codereview.chromium.org/1133853007/diff/60001/content/browser/service_worker/service_worker_metrics.cc File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/1133853007/diff/60001/content/browser/service_worker/service_worker_metrics.cc#newcode113 content/browser/service_worker/service_worker_metrics.cc:113: if (handled_events > 0u) On 2015/05/15 02:41:25, nhiroki wrote: ...
5 years, 7 months ago (2015-05-15 04:42:24 UTC) #7
nhiroki
lgtm
5 years, 7 months ago (2015-05-15 05:09:52 UTC) #8
Alexei Svitkine (slow)
lgtm % nits https://codereview.chromium.org/1133853007/diff/80001/content/browser/service_worker/service_worker_metrics.cc File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/1133853007/diff/80001/content/browser/service_worker/service_worker_metrics.cc#newcode112 content/browser/service_worker/service_worker_metrics.cc:112: int unhandled_ratio = 0; Nit: No ...
5 years, 7 months ago (2015-05-15 14:35:58 UTC) #9
kinuko
Thanks! https://codereview.chromium.org/1133853007/diff/80001/content/browser/service_worker/service_worker_metrics.cc File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/1133853007/diff/80001/content/browser/service_worker/service_worker_metrics.cc#newcode112 content/browser/service_worker/service_worker_metrics.cc:112: int unhandled_ratio = 0; On 2015/05/15 14:35:57, Alexei ...
5 years, 7 months ago (2015-05-15 15:22:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1133853007/100001
5 years, 7 months ago (2015-05-15 15:23:10 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 7 months ago (2015-05-15 18:32:22 UTC) #14
commit-bot: I haz the power
5 years, 7 months ago (2015-05-15 18:33:25 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/384c156655a355bec5d1dd8e80165bc874051202
Cr-Commit-Position: refs/heads/master@{#330140}

Powered by Google App Engine
This is Rietveld 408576698