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

Issue 2727143004: Add additional PageLoad UKM metrics using new UKM client API. (Closed)

Created:
3 years, 9 months ago by Bryan McQuade
Modified:
3 years, 9 months ago
Reviewers:
Zhen Wang, rkaplow, tdresser
CC:
chromium-reviews, csharrison+watch_chromium.org, loading-reviews+metrics_chromium.org, tdresser
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add additional PageLoad UKM metrics using new UKM client API. This change adds core PageLoad metrics to UKM. The new metrics are: * first meaningful paint (experimental) * foreground duration * parse start * dom content loaded * load event BUG=697454 Review-Url: https://codereview.chromium.org/2727143004 Cr-Commit-Position: refs/heads/master@{#454308} Committed: https://chromium.googlesource.com/chromium/src/+/8c68311a3f7c731ecf774e4ac411bbd2179436fb

Patch Set 1 #

Patch Set 2 : test improvements #

Patch Set 3 : improve test #

Patch Set 4 : rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -38 lines) Patch
M chrome/browser/page_load_metrics/observers/ukm_page_load_metrics_observer.h View 1 2 2 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/page_load_metrics/observers/ukm_page_load_metrics_observer.cc View 3 chunks +48 lines, -10 lines 1 comment Download
M chrome/browser/page_load_metrics/observers/ukm_page_load_metrics_observer_unittest.cc View 1 2 6 chunks +106 lines, -26 lines 0 comments Download

Messages

Total messages: 25 (18 generated)
Bryan McQuade
rkaplow, PTAL, thanks!
3 years, 9 months ago (2017-03-02 16:21:45 UTC) #12
Bryan McQuade
zhenw and rkaplow, PTAL, thanks!
3 years, 9 months ago (2017-03-02 17:43:51 UTC) #16
Zhen Wang
lgtm
3 years, 9 months ago (2017-03-02 17:58:21 UTC) #17
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/2727143004/60001
3 years, 9 months ago (2017-03-02 18:03:03 UTC) #19
tdresser
https://codereview.chromium.org/2727143004/diff/60001/chrome/browser/page_load_metrics/observers/ukm_page_load_metrics_observer.cc File chrome/browser/page_load_metrics/observers/ukm_page_load_metrics_observer.cc (right): https://codereview.chromium.org/2727143004/diff/60001/chrome/browser/page_load_metrics/observers/ukm_page_load_metrics_observer.cc#newcode22 chrome/browser/page_load_metrics/observers/ukm_page_load_metrics_observer.cc:22: const char kUkmForegroundDurationName[] = "PageTiming.ForegroundDuration"; All of DocumentTiming, PageTiming, ...
3 years, 9 months ago (2017-03-02 18:06:01 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/8c68311a3f7c731ecf774e4ac411bbd2179436fb
3 years, 9 months ago (2017-03-02 18:14:00 UTC) #24
Bryan McQuade
3 years, 9 months ago (2017-03-02 18:16:53 UTC) #25
Message was sent while issue was closed.
On 2017/03/02 at 18:06:01, tdresser wrote:
>
https://codereview.chromium.org/2727143004/diff/60001/chrome/browser/page_loa...
> File
chrome/browser/page_load_metrics/observers/ukm_page_load_metrics_observer.cc
(right):
> 
>
https://codereview.chromium.org/2727143004/diff/60001/chrome/browser/page_loa...
>
chrome/browser/page_load_metrics/observers/ukm_page_load_metrics_observer.cc:22:
const char kUkmForegroundDurationName[] = "PageTiming.ForegroundDuration";
> All of DocumentTiming, PageTiming, PaintTiming and ParseTiming feel like they
perhaps belong under a common "LoadTiming" prefix. I guess we're just trying to
match the UMA names here?
> 
> Is that going to be general practice with UKM?
> 
> (I don't have strong opinions either way, but we should probably be
consistent)

Yeah, all of these are grouped under the 'PageLoad' UKM event name. For now,
we're re-using the same names as UMA so we can reason about them more easily
when looking at UMA data and UKM data (same name = same metric across the 2
systems). But it may be the case that we should rename. It's probably worth
reviewing all the existing UMA names to see if there's anything that should
change there, and then maybe we update both at once.

Powered by Google App Engine
This is Rietveld 408576698