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

Issue 2932593002: Attempt 2: Update PaintTiming Web Perf APIs for FP & FCP to report swap time (Closed)

Created:
3 years, 6 months ago by panicker
Modified:
3 years, 6 months ago
Reviewers:
Xianzhu, tdresser
CC:
chromium-reviews, blink-reviews, dshwang, blink-reviews-paint_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Attempt 2: Update PaintTiming Web Perf APIs for FP & FCP to report swap time Update tests to use capturePixelsAsyncThen to generate a frame, and check buffered values. BUG=657825, 657826 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2932593002 Cr-Commit-Position: refs/heads/master@{#479303} Committed: https://chromium.googlesource.com/chromium/src/+/600950a6cab835f6a2932ead72cb0c0a34782fa5

Patch Set 1 #

Patch Set 2 : fix punctuation #

Total comments: 10

Patch Set 3 : update title in test #

Patch Set 4 : Add two more tests #

Total comments: 2

Patch Set 5 : replace var with let #

Total comments: 4

Patch Set 6 : let -> const #

Patch Set 7 : move test to image onload, otherwise its inconsistent / flaky #

Patch Set 8 : rebase to head #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -231 lines) Patch
A third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/basetest.html View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-bg-image.html View 1 2 3 4 5 6 1 chunk +28 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-canvas.html View 1 2 3 4 5 1 chunk +17 lines, -32 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-image.html View 1 2 3 4 5 6 1 chunk +15 lines, -30 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html View 1 2 3 4 5 6 1 chunk +33 lines, -31 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-svg.html View 1 2 3 4 5 6 1 chunk +16 lines, -31 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-paint-bg-color.html View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-paint-only.html View 1 2 3 4 5 1 chunk +16 lines, -22 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/no-paint.html View 1 chunk +0 lines, -23 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/observable.html View 1 chunk +0 lines, -54 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintTiming.cpp View 3 chunks +5 lines, -8 lines 0 comments Download

Messages

Total messages: 36 (22 generated)
panicker
Hey folks This is a rollforward for this CL that you reviewed previously. https://codereview.chromium.org/2873033002 The ...
3 years, 6 months ago (2017-06-07 23:43:56 UTC) #3
tdresser
https://codereview.chromium.org/2932593002/diff/20001/third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html File third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html (right): https://codereview.chromium.org/2932593002/diff/20001/third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html#newcode13 third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html:13: testRunner.capturePixelsAsyncThen(t.step_func(function() { Can we make a promise based version ...
3 years, 6 months ago (2017-06-08 14:34:33 UTC) #4
panicker
PTAL https://codereview.chromium.org/2932593002/diff/20001/third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html File third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html (right): https://codereview.chromium.org/2932593002/diff/20001/third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html#newcode13 third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html:13: testRunner.capturePixelsAsyncThen(t.step_func(function() { On 2017/06/08 14:34:32, tdresser wrote: > ...
3 years, 6 months ago (2017-06-08 22:47:05 UTC) #5
tdresser
LGTM % thoughts. https://codereview.chromium.org/2932593002/diff/20001/third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html File third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html (right): https://codereview.chromium.org/2932593002/diff/20001/third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html#newcode13 third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html:13: testRunner.capturePixelsAsyncThen(t.step_func(function() { On 2017/06/08 22:47:04, panicker ...
3 years, 6 months ago (2017-06-09 14:26:27 UTC) #6
Xianzhu
(rs)lgtm.
3 years, 6 months ago (2017-06-09 15:33:33 UTC) #7
panicker
Thanks for the review! https://codereview.chromium.org/2932593002/diff/20001/third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html File third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html (right): https://codereview.chromium.org/2932593002/diff/20001/third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html#newcode13 third_party/WebKit/LayoutTests/http/tests/performance-timing/paint-timing/first-contentful-paint.html:13: testRunner.capturePixelsAsyncThen(t.step_func(function() { On 2017/06/09 14:26:27, ...
3 years, 6 months ago (2017-06-09 20:29:48 UTC) #8
tdresser
Thanks for the changes! 1 nit: const in JS is super confusing. From MDN "The ...
3 years, 6 months ago (2017-06-12 14:44:45 UTC) #13
panicker
On 2017/06/12 14:44:45, tdresser wrote: > Thanks for the changes! > > 1 nit: const ...
3 years, 6 months ago (2017-06-12 19:58:14 UTC) #14
tdresser
Still LGTM.
3 years, 6 months ago (2017-06-13 15:23:01 UTC) #19
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/2932593002/120001
3 years, 6 months ago (2017-06-14 01:00:49 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/478244)
3 years, 6 months ago (2017-06-14 03:11:03 UTC) #28
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/2932593002/120001
3 years, 6 months ago (2017-06-14 04:22:26 UTC) #30
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/2932593002/140001
3 years, 6 months ago (2017-06-14 04:35:50 UTC) #33
commit-bot: I haz the power
3 years, 6 months ago (2017-06-14 06:23:29 UTC) #36
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/600950a6cab835f6a2932ead72cb...

Powered by Google App Engine
This is Rietveld 408576698