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

Issue 2551013003: Introduce ServiceWorker.MainFramePageLoad.CoreTransition and RedirectChainLength UMAs. (Closed)

Created:
4 years ago by horo
Modified:
4 years ago
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, shimazu+serviceworker_chromium.org, serviceworker-reviews, jam, nhiroki, kinuko+serviceworker, asvitkine+watch_chromium.org, horo+watch_chromium.org, darin-cc_chromium.org, kinuko+watch, tzik, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce ServiceWorker.MainFramePageLoad.CoreTransition and RedirectChainLength UMAs. The result of the experiment of Speculative launch Service Workers was not so good as we thought. We think this is because: - Low percentage of navigations by link click - High percentage of navigations with redirects To confirm this, I'd like to introduce 2 UMAs. - ServiceWorker.MainFramePageLoad.CoreTransition - ServiceWorker.MainFramePageLoad.RedirectChainLength BUG=616502 Committed: https://crrev.com/b7ebb2a06b4074b7fb9ecd3ef03d307321c5e910 Cr-Commit-Position: refs/heads/master@{#437250}

Patch Set 1 #

Total comments: 11

Patch Set 2 : incorporated falken's comment #

Patch Set 3 : hardcode the max number of rediects. #

Total comments: 4

Patch Set 4 : s/HHTP/HTTP/ #

Patch Set 5 : Add comment about where the 20 is defined #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -27 lines) Patch
M content/browser/service_worker/service_worker_controllee_request_handler.cc View 1 4 chunks +14 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_metrics.h View 2 chunks +4 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_metrics.cc View 1 2 3 4 2 chunks +19 lines, -4 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 4 chunks +36 lines, -19 lines 0 comments Download

Messages

Total messages: 58 (40 generated)
horo
falken@ Please review this.
4 years ago (2016-12-06 01:04:23 UTC) #20
falken
https://codereview.chromium.org/2551013003/diff/60001/content/browser/service_worker/service_worker_metrics.cc File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/2551013003/diff/60001/content/browser/service_worker/service_worker_metrics.cc#newcode345 content/browser/service_worker/service_worker_metrics.cc:345: static_cast<int>(ui::PAGE_TRANSITION_LAST_CORE)); should be LAST_CORE + 1? https://codereview.chromium.org/2551013003/diff/60001/content/browser/service_worker/service_worker_metrics.cc#newcode347 content/browser/service_worker/service_worker_metrics.cc:347: // ...
4 years ago (2016-12-06 01:25:14 UTC) #21
horo
https://codereview.chromium.org/2551013003/diff/60001/content/browser/service_worker/service_worker_metrics.cc File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/2551013003/diff/60001/content/browser/service_worker/service_worker_metrics.cc#newcode345 content/browser/service_worker/service_worker_metrics.cc:345: static_cast<int>(ui::PAGE_TRANSITION_LAST_CORE)); On 2016/12/06 01:25:14, falken wrote: > should be ...
4 years ago (2016-12-06 01:44:51 UTC) #23
falken
Thanks, lgtm
4 years ago (2016-12-06 01:58:47 UTC) #25
horo
xunjieli@ Could you please review net/url_request/url_request.*?
4 years ago (2016-12-06 02:23:50 UTC) #27
horo
rkaplow@ Could you please review tools/metrics/histograms/histograms.xml?
4 years ago (2016-12-06 02:25:21 UTC) #29
rkaplow
lgtm
4 years ago (2016-12-06 19:32:16 UTC) #32
xunjieli
+mmenke@ Matt mentioned that using kMaxRedirects in UMA is probably not a good idea. If ...
4 years ago (2016-12-06 21:50:27 UTC) #34
rkaplow
On 2016/12/06 21:50:27, xunjieli wrote: > +mmenke@ > Matt mentioned that using kMaxRedirects in UMA ...
4 years ago (2016-12-06 22:42:31 UTC) #35
mmenke
On 2016/12/06 22:42:31, rkaplow wrote: > On 2016/12/06 21:50:27, xunjieli wrote: > > +mmenke@ > ...
4 years ago (2016-12-06 22:59:12 UTC) #36
horo
On 2016/12/06 22:59:12, mmenke wrote: > On 2016/12/06 22:42:31, rkaplow wrote: > > On 2016/12/06 ...
4 years ago (2016-12-07 01:04:25 UTC) #39
shimazu
drive-by: added a nit https://codereview.chromium.org/2551013003/diff/100001/content/browser/service_worker/service_worker_metrics.cc File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/2551013003/diff/100001/content/browser/service_worker/service_worker_metrics.cc#newcode346 content/browser/service_worker/service_worker_metrics.cc:346: // Currently the max number ...
4 years ago (2016-12-07 01:18:51 UTC) #41
horo
https://codereview.chromium.org/2551013003/diff/100001/content/browser/service_worker/service_worker_metrics.cc File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/2551013003/diff/100001/content/browser/service_worker/service_worker_metrics.cc#newcode346 content/browser/service_worker/service_worker_metrics.cc:346: // Currently the max number of HHTP redirects is ...
4 years ago (2016-12-07 01:26:49 UTC) #44
falken
https://codereview.chromium.org/2551013003/diff/100001/content/browser/service_worker/service_worker_metrics.cc File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/2551013003/diff/100001/content/browser/service_worker/service_worker_metrics.cc#newcode346 content/browser/service_worker/service_worker_metrics.cc:346: // Currently the max number of HHTP redirects is ...
4 years ago (2016-12-07 01:28:49 UTC) #45
horo
https://codereview.chromium.org/2551013003/diff/100001/content/browser/service_worker/service_worker_metrics.cc File content/browser/service_worker/service_worker_metrics.cc (right): https://codereview.chromium.org/2551013003/diff/100001/content/browser/service_worker/service_worker_metrics.cc#newcode346 content/browser/service_worker/service_worker_metrics.cc:346: // Currently the max number of HHTP redirects is ...
4 years ago (2016-12-07 01:58:34 UTC) #47
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/2551013003/140001
4 years ago (2016-12-08 13:29:14 UTC) #53
commit-bot: I haz the power
Committed patchset #5 (id:140001)
4 years ago (2016-12-08 15:47:07 UTC) #56
commit-bot: I haz the power
4 years ago (2016-12-08 15:48:41 UTC) #58
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b7ebb2a06b4074b7fb9ecd3ef03d307321c5e910
Cr-Commit-Position: refs/heads/master@{#437250}

Powered by Google App Engine
This is Rietveld 408576698