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

Issue 2533783003: Add metrics for style update time before FCP. (Closed)

Created:
4 years ago by Charlie Harrison
Modified:
4 years ago
CC:
darktears, apavlov+blink_chromium.org, asvitkine+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-css, blink-reviews-dom_chromium.org, chromium-reviews, csharrison+watch_chromium.org, dglazkov+blink, eae+blinkwatch, kinuko+watch, loading-reviews+metrics_chromium.org, rwlbuis, sof, Timothy Loh
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add metrics for style update time before FCP. BUG=666030 Committed: https://crrev.com/246860b48c9fcfca69448d7900f58cae13789a79 Cr-Commit-Position: refs/heads/master@{#436989}

Patch Set 1 #

Patch Set 2 : fixes #

Patch Set 3 : fix histogram typo (trybots prev) #

Total comments: 2

Patch Set 4 : add sum metric #

Total comments: 2

Patch Set 5 : s/&&/||/ #

Patch Set 6 : value_or(base::TimeDelta()) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -14 lines) Patch
M chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc View 1 2 3 4 5 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/page_load_metrics/page_load_metrics_messages.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/page_load_metrics/page_load_timing.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/page_load_metrics/page_load_timing.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/renderer/page_load_metrics/metrics_render_frame_observer.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/data/page_load_metrics/page_with_css.html View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/CSSTiming.h View 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/CSSTiming.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/StyleSheetContents.cpp View 1 2 chunks +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 3 chunks +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceTiming.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceTiming.cpp View 1 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebPerformance.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebPerformance.h View 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (13 generated)
Charlie Harrison
bmcquade: PTAL at everything kouhei: PTAL at core/ rkaplow: PTAL at histograms.xml mkwst: PTAL at ...
4 years ago (2016-11-28 18:00:03 UTC) #6
rkaplow
lgtm
4 years ago (2016-11-28 18:07:03 UTC) #7
Bryan McQuade
LGTM - just a request for one more histogram. https://codereview.chromium.org/2533783003/diff/40001/chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc File chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc (right): https://codereview.chromium.org/2533783003/diff/40001/chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc#newcode348 chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc:348: ...
4 years ago (2016-11-28 18:30:53 UTC) #8
Charlie Harrison
rkaplow: Note there is a new histogram logged in this CL since your l-g. https://codereview.chromium.org/2533783003/diff/40001/chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc ...
4 years ago (2016-11-28 18:57:36 UTC) #9
Bryan McQuade
Thanks! One more comment. https://codereview.chromium.org/2533783003/diff/60001/chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc File chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc (right): https://codereview.chromium.org/2533783003/diff/60001/chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc#newcode353 chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc:353: if (timing.style_sheet_timing I'd log this ...
4 years ago (2016-11-28 19:05:18 UTC) #10
Charlie Harrison
https://codereview.chromium.org/2533783003/diff/60001/chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc File chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc (right): https://codereview.chromium.org/2533783003/diff/60001/chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc#newcode353 chrome/browser/page_load_metrics/observers/core_page_load_metrics_observer.cc:353: if (timing.style_sheet_timing On 2016/11/28 19:05:18, Bryan McQuade wrote: > ...
4 years ago (2016-11-28 19:10:11 UTC) #11
Bryan McQuade
LGTM, thx!
4 years ago (2016-11-28 19:19:41 UTC) #14
kouhei (in TOK)
lgtm
4 years ago (2016-11-29 01:18:41 UTC) #17
Charlie Harrison
mkwst friendly ping for trivial IPC change
4 years ago (2016-12-05 19:34:37 UTC) #18
Mike West
Trivial changes LGTM!
4 years ago (2016-12-07 14:50:53 UTC) #19
Charlie Harrison
Thanks!
4 years ago (2016-12-07 14:53:59 UTC) #20
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/2533783003/100001
4 years ago (2016-12-07 14:54:23 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-07 17:20:25 UTC) #25
commit-bot: I haz the power
4 years ago (2016-12-07 17:23:00 UTC) #27
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/246860b48c9fcfca69448d7900f58cae13789a79
Cr-Commit-Position: refs/heads/master@{#436989}

Powered by Google App Engine
This is Rietveld 408576698