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

Issue 2259723002: Update FirstMeaningfulPaint to use Blink's implementation (Closed)

Created:
4 years, 4 months ago by Kunihiko Sakamoto
Modified:
4 years, 3 months ago
CC:
catapult-reviews_chromium.org, tracing-review_chromium.org, paulirish, benjhayden
Base URL:
https://github.com/catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Update FirstMeaningfulPaint to use Blink's implementation Note to perf sheriffs: this is going to affect timeToFirstMeaningfulPaint values in page_cycler_v2 benchmarks. This updates FirstMeaningfulPaint metric to use trace events logged by Blink's FirstMeaningfulPaintDetector, instead of computing layout significance from FrameView::performLayout trace event. Since Blink implementation counts more layout objects / uses the end time of the paint phase, this patch will change TTFMP value, but it increases accuracy (see https://crbug.com/638124#c8 for details). This requires the new trace event added in https://crrev.com/2276573003/. BUG=chromium:638124 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/7bf2ae5c26055537f6c07d88d15d29485bca65b1

Patch Set 1 #

Total comments: 7

Patch Set 2 : paintEvent -> fmpMarkerEvent #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -329 lines) Patch
M tracing/tracing/metrics/system_health/loading_metric.html View 1 2 5 chunks +36 lines, -136 lines 0 comments Download
M tracing/tracing/metrics/system_health/loading_metric_test.html View 4 chunks +28 lines, -193 lines 0 comments Download

Messages

Total messages: 30 (15 generated)
Kunihiko Sakamoto
PTAL
4 years, 3 months ago (2016-08-30 05:45:51 UTC) #8
kouhei (in TOK)
lgtm Ned: We probably need the ref builds update to land this.
4 years, 3 months ago (2016-08-31 00:43:05 UTC) #9
kouhei (in TOK)
> Ned: We probably need the ref builds update to land this. ksakamoto-san: Would you ...
4 years, 3 months ago (2016-08-31 00:45:04 UTC) #10
nednguyen
On 2016/08/31 00:45:04, kouhei wrote: > > Ned: We probably need the ref builds update ...
4 years, 3 months ago (2016-08-31 00:46:48 UTC) #11
nednguyen
https://codereview.chromium.org/2259723002/diff/20001/tracing/tracing/metrics/system_health/loading_metric.html File tracing/tracing/metrics/system_health/loading_metric.html (right): https://codereview.chromium.org/2259723002/diff/20001/tracing/tracing/metrics/system_health/loading_metric.html#newcode328 tracing/tracing/metrics/system_health/loading_metric.html:328: var timeToFirstMeaningfulPaint = paintEvent.start - navigationStart.start; paintEvent.end - navigationStart.start? ...
4 years, 3 months ago (2016-08-31 00:52:02 UTC) #12
kouhei (in TOK)
On 2016/08/31 00:46:48, nednguyen wrote: > On 2016/08/31 00:45:04, kouhei wrote: > > > Ned: ...
4 years, 3 months ago (2016-08-31 01:03:55 UTC) #14
Kunihiko Sakamoto
https://codereview.chromium.org/2259723002/diff/20001/tracing/tracing/metrics/system_health/loading_metric.html File tracing/tracing/metrics/system_health/loading_metric.html (right): https://codereview.chromium.org/2259723002/diff/20001/tracing/tracing/metrics/system_health/loading_metric.html#newcode328 tracing/tracing/metrics/system_health/loading_metric.html:328: var timeToFirstMeaningfulPaint = paintEvent.start - navigationStart.start; On 2016/08/31 00:52:02, ...
4 years, 3 months ago (2016-08-31 01:04:40 UTC) #15
nednguyen
lgtm https://codereview.chromium.org/2259723002/diff/20001/tracing/tracing/metrics/system_health/loading_metric.html File tracing/tracing/metrics/system_health/loading_metric.html (right): https://codereview.chromium.org/2259723002/diff/20001/tracing/tracing/metrics/system_health/loading_metric.html#newcode328 tracing/tracing/metrics/system_health/loading_metric.html:328: var timeToFirstMeaningfulPaint = paintEvent.start - navigationStart.start; On 2016/08/31 ...
4 years, 3 months ago (2016-08-31 01:12:40 UTC) #16
Kunihiko Sakamoto
Thanks! https://codereview.chromium.org/2259723002/diff/20001/tracing/tracing/metrics/system_health/loading_metric.html File tracing/tracing/metrics/system_health/loading_metric.html (right): https://codereview.chromium.org/2259723002/diff/20001/tracing/tracing/metrics/system_health/loading_metric.html#newcode328 tracing/tracing/metrics/system_health/loading_metric.html:328: var timeToFirstMeaningfulPaint = paintEvent.start - navigationStart.start; On 2016/08/31 ...
4 years, 3 months ago (2016-08-31 01:21:59 UTC) #18
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/2259723002/40001
4 years, 3 months ago (2016-08-31 01:22:09 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Android Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Android%20Tryserver/builds/1146) Catapult Linux ...
4 years, 3 months ago (2016-08-31 01:23:18 UTC) #23
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/2259723002/60001
4 years, 3 months ago (2016-08-31 01:28:08 UTC) #26
nednguyen
On 2016/08/31 01:28:08, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
4 years, 3 months ago (2016-08-31 01:35:20 UTC) #27
Kunihiko Sakamoto
On 2016/08/31 01:35:20, nednguyen wrote: > On 2016/08/31 01:28:08, commit-bot: I haz the power wrote: ...
4 years, 3 months ago (2016-08-31 01:37:14 UTC) #28
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 01:50:46 UTC) #30
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698