|
|
DescriptionUpdate PaintTiming Web Perf APIs for FP & FCP to report swap time
BUG=657826, 657825
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2873033002
Cr-Commit-Position: refs/heads/master@{#474504}
Committed: https://chromium.googlesource.com/chromium/src/+/e7366cc17bd54dc1f347e98e40668cf845e472b5
Patch Set 1 #Patch Set 2 : Update basic test and suppress some tests. The suppressed tests are actively being worked on to mak… #Patch Set 3 : missed virtual/mojo-loading tests #
Messages
Total messages: 32 (15 generated)
Description was changed from ========== Update PaintTiming Web Perf APIs for FP & FCP to report swap time BUG=657826,657825 ========== to ========== Update PaintTiming Web Perf APIs for FP & FCP to report swap time BUG=657826,657825 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ==========
panicker@chromium.org changed reviewers: + tdresser@chromium.org, wangxianzhu@chromium.org
Starting with updating the web perf API timestamp. Subsequent CLs will update the TBM trace and then UMA (recorded in page-load-metrics)
On 2017/05/09 21:21:33, panicker wrote: > Starting with updating the web perf API timestamp. > Subsequent CLs will update the TBM trace and then UMA (recorded in > page-load-metrics) Any reason not to add an additonal UMA (in PaintTiming.cpp) matching up with the new swap-time timestamps?
Can we write some tests for this? (LGTM if you want to write tests in a followup patch, but we should have some). +1 to adding a new UMA with these values in a followup patch.
(rs) lgtm.
On 2017/05/10 at 15:44:25, wangxianzhu wrote: > (rs) lgtm. Thanks for this! Last I saw first image and first text paints had also been affected. Will those also be fixed to be scoped to their frame, or is additional work needed there?
On 2017/05/10 13:40:19, tdresser wrote: > Can we write some tests for this? (LGTM if you want to write tests in a followup > patch, but we should have some). > > +1 to adding a new UMA with these values in a followup patch. Happy to write tests as follow-up - if we have interesting test cases. Any suggestions? i.e. the test shouldn't just be that we called PerformanceBase::AddFirstPaintTiming (this is already covered in the layout test)
On 2017/05/10 15:57:30, Bryan McQuade wrote: > On 2017/05/10 at 15:44:25, wangxianzhu wrote: > > (rs) lgtm. > > Thanks for this! Last I saw first image and first text paints had also been > affected. Will those also be fixed to be scoped to their frame, or is additional > work needed there? Good catch Bryan, I'll fix this in a followup!
On 2017/05/10 21:23:45, panicker wrote: > On 2017/05/10 15:57:30, Bryan McQuade wrote: > > On 2017/05/10 at 15:44:25, wangxianzhu wrote: > > > (rs) lgtm. > > > > Thanks for this! Last I saw first image and first text paints had also been > > affected. Will those also be fixed to be scoped to their frame, or is > additional > > work needed there? > > Good catch Bryan, I'll fix this in a followup! To clarify - I think you mean that text-paint and image-paint should also have the "swap" counterpart so we can record the right time for TBM trace etc right? Is this needed for UMA also ?
The CQ bit was checked by panicker@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
On 2017/05/10 21:27:22, panicker wrote: > On 2017/05/10 21:23:45, panicker wrote: > > On 2017/05/10 15:57:30, Bryan McQuade wrote: > > > On 2017/05/10 at 15:44:25, wangxianzhu wrote: > > > > (rs) lgtm. > > > > > > Thanks for this! Last I saw first image and first text paints had also been > > > affected. Will those also be fixed to be scoped to their frame, or is > > additional > > > work needed there? > > > > Good catch Bryan, I'll fix this in a followup! > > To clarify - I think you mean that text-paint and image-paint should also have > the "swap" counterpart so we can record the right time for TBM trace etc right? > Is this needed for UMA also ? Regarding tests - ideally we'd have a test case where we verify that we are now including the raster cost.
The CQ bit was checked by panicker@chromium.org
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2017/05/11 12:29:31, tdresser wrote: > On 2017/05/10 21:27:22, panicker wrote: > > On 2017/05/10 21:23:45, panicker wrote: > > > On 2017/05/10 15:57:30, Bryan McQuade wrote: > > > > On 2017/05/10 at 15:44:25, wangxianzhu wrote: > > > > > (rs) lgtm. > > > > > > > > Thanks for this! Last I saw first image and first text paints had also > been > > > > affected. Will those also be fixed to be scoped to their frame, or is > > > additional > > > > work needed there? > > > > > > Good catch Bryan, I'll fix this in a followup! > > > > To clarify - I think you mean that text-paint and image-paint should also have > > the "swap" counterpart so we can record the right time for TBM trace etc > right? > > Is this needed for UMA also ? > > Regarding tests - ideally we'd have a test case where we verify that we are now > including the raster cost. Yeah that's hard in a unit-test with the current plumbing - punching through so many layers. We should perhaps craft a layout test that makes compositing / raster expensive - thoughts?
The CQ bit was unchecked by commit-bot@chromium.org
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_...)
The CQ bit was checked by panicker@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from wangxianzhu@chromium.org, tdresser@chromium.org Link to the patchset: https://codereview.chromium.org/2873033002/#ps20001 (title: "Update basic test and suppress some tests. The suppressed tests are actively being worked on to mak…")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by panicker@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from wangxianzhu@chromium.org, tdresser@chromium.org Link to the patchset: https://codereview.chromium.org/2873033002/#ps40001 (title: "missed virtual/mojo-loading tests")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 40001, "attempt_start_ts": 1495660359464980, "parent_rev": "4f51183e751e780ae7cd12d9782bd2bf104c8eeb", "commit_rev": "e7366cc17bd54dc1f347e98e40668cf845e472b5"}
Message was sent while issue was closed.
Description was changed from ========== Update PaintTiming Web Perf APIs for FP & FCP to report swap time BUG=657826,657825 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== Update PaintTiming Web Perf APIs for FP & FCP to report swap time BUG=657826,657825 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2873033002 Cr-Commit-Position: refs/heads/master@{#474504} Committed: https://chromium.googlesource.com/chromium/src/+/e7366cc17bd54dc1f347e98e4066... ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/e7366cc17bd54dc1f347e98e4066...
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2904023002/ by yosin@chromium.org. The reason for reverting is: Probably causes leaks: * http/tests/performance-timing/paint-timing/observable.html * virtual/mojo-loading/http/tests/performance-timing/paint-timing/observable.html https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20Trusty.... |