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

Issue 1953673003: Log an immediate variant of FirstContentfulPaint (Closed)

Created:
4 years, 7 months ago by Bryan McQuade
Modified:
4 years, 7 months ago
CC:
chromium-reviews, csharrison+watch_chromium.org, loading-reviews+metrics_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Log an immediate variant of FirstContentfulPaint. Our page load metrics are currently logged at the time a page is 'closed'. For example, when a tab is closed, or when a page is navigated away from. If a page stays open for a long period of time, we may log its metrics long after the events for those metrics occurred. This may cause issues such as logging metrics for events that happened on WiFi later, when the user is on 2G, or vice versa. We don't know how much of a problem this is, so to start, we're adding a single metric to allow us to track the difference between logging at the end of a page load and logging immediately after the page event occurred. If the difference is significant, this may motivate us to migrate other events to more immediate logging. BUG=609660 Committed: https://crrev.com/3e0a460bd23c5c2e25b8bf6b9813f8c78408a595 Cr-Commit-Position: refs/heads/master@{#392330}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : address comment #

Total comments: 1

Patch Set 6 : add tests #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : add tests #

Messages

Total messages: 17 (7 generated)
Bryan McQuade
PTAL
4 years, 7 months ago (2016-05-06 00:07:30 UTC) #4
Charlie Harrison
LGTM. You could also make "Immediate" a histogram suffix, but it doesn't really matter to ...
4 years, 7 months ago (2016-05-06 18:13:38 UTC) #5
Bryan McQuade
On 2016/05/06 at 18:13:38, csharrison wrote: > LGTM. You could also make "Immediate" a histogram ...
4 years, 7 months ago (2016-05-06 18:26:08 UTC) #6
Bryan McQuade
https://codereview.chromium.org/1953673003/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1953673003/diff/80001/tools/metrics/histograms/histograms.xml#newcode35545 tools/metrics/histograms/histograms.xml:35545: + The time from navigation start to first "contentful" ...
4 years, 7 months ago (2016-05-06 18:27:03 UTC) #7
Bryan McQuade
asvitkine, PTAL for histograms.xml.
4 years, 7 months ago (2016-05-06 18:27:33 UTC) #9
Charlie Harrison
still lgtm.
4 years, 7 months ago (2016-05-06 18:28:30 UTC) #10
Alexei Svitkine (slow)
lgtm
4 years, 7 months ago (2016-05-09 16:24:24 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953673003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953673003/160001
4 years, 7 months ago (2016-05-09 16:25:07 UTC) #14
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 7 months ago (2016-05-09 16:29:19 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-05-09 16:31:18 UTC) #17
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/3e0a460bd23c5c2e25b8bf6b9813f8c78408a595
Cr-Commit-Position: refs/heads/master@{#392330}

Powered by Google App Engine
This is Rietveld 408576698