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

Issue 2908323002: Add UMA for ServiceWorker FirstMeaningfulPaint (Closed)

Created:
3 years, 6 months ago by horo
Modified:
3 years, 6 months ago
Reviewers:
falken, kinuko, Mark P, tdresser
CC:
chromium-reviews, csharrison+watch_chromium.org, asvitkine+watch_chromium.org, loading-reviews+metrics_chromium.org, speed-metrics-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add UMA for ServiceWorker FirstMeaningfulPaint BUG=727599 Review-Url: https://codereview.chromium.org/2908323002 Cr-Commit-Position: refs/heads/master@{#475760} Committed: https://chromium.googlesource.com/chromium/src/+/a55da7b3ac651bebd147bb11f734546ac533ebcb

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+279 lines, -0 lines) Patch
M chrome/browser/page_load_metrics/observers/service_worker_page_load_metrics_observer.h View 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/page_load_metrics/observers/service_worker_page_load_metrics_observer.cc View 7 chunks +83 lines, -0 lines 0 comments Download
M chrome/browser/page_load_metrics/observers/service_worker_page_load_metrics_observer_unittest.cc View 11 chunks +169 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (17 generated)
horo
falken@ Could you please review this?
3 years, 6 months ago (2017-05-30 07:22:06 UTC) #10
falken
lgtm
3 years, 6 months ago (2017-05-30 09:22:05 UTC) #12
horo
mpearson@ Could you please review histograms.xml?
3 years, 6 months ago (2017-05-30 09:30:04 UTC) #14
kinuko
lgtm
3 years, 6 months ago (2017-05-30 09:30:30 UTC) #15
kinuko
lgtm
3 years, 6 months ago (2017-05-30 09:30:31 UTC) #16
tdresser
A few non-blocking drive-by thoughts: The kinds of analysis I'd like to do on this ...
3 years, 6 months ago (2017-05-30 12:06:48 UTC) #20
Mark P
histograms.xml lgtm Note that I did not the review the actual metrics *code*. I assume ...
3 years, 6 months ago (2017-05-30 18:34:02 UTC) #21
horo
On 2017/05/30 12:06:48, tdresser wrote: > A few non-blocking drive-by thoughts: > > The kinds ...
3 years, 6 months ago (2017-05-31 02:53:18 UTC) #22
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/2908323002/20001
3 years, 6 months ago (2017-05-31 02:53:41 UTC) #24
commit-bot: I haz the power
Committed patchset #1 (id:20001) as https://chromium.googlesource.com/chromium/src/+/a55da7b3ac651bebd147bb11f734546ac533ebcb
3 years, 6 months ago (2017-05-31 02:59:05 UTC) #27
tdresser
On 2017/05/31 02:53:18, horo wrote: > On 2017/05/30 12:06:48, tdresser wrote: > > A few ...
3 years, 6 months ago (2017-05-31 14:21:16 UTC) #28
horo
3 years, 6 months ago (2017-06-01 05:40:16 UTC) #29
Message was sent while issue was closed.
On 2017/05/31 14:21:16, tdresser wrote:
> On 2017/05/31 02:53:18, horo wrote:
> > On 2017/05/30 12:06:48, tdresser wrote:
> > > A few non-blocking drive-by thoughts:
> > > 
> > > The kinds of analysis I'd like to do on this data would be much easier if
we
> > > also recorded a separate histogram for cases without a service worker
> present.
> > > Could we add parallel non-serviceworker variants?
> > > 
> > > Will UKM enable us to eventually get rid of the site specific hacks here?
> > 
> > Thank you for the comment.
> > 
> > We already have NavigationToFirstMeaningfulPaint UMA for all pages.
> 
> Yeah, it's just easier to compare two distributions if you record both
> distributions, instead of recording one distribution, and the aggregate of
both
> distributions. The UMA recommendations state to avoid derived metrics if
> possible, and without deriving the distribution for pages without service
> workers, you can't make comparisons between the two distributions.

Created a cl: https://codereview.chromium.org/2916033002

> >
>
https://chromium.googlesource.com/chromium/src/+blame/ebe52af6c0285feef6f776d...
> > And also we have NavigationToFirstMeaningfulPaint UKM.
> 
> Should we have a bug to get rid of the inbox specific UMA then?

Filed: https://crbug.com/728484

Powered by Google App Engine
This is Rietveld 408576698