DescriptionTrace LayoutObject src attributes and parent frames
Put Users First team is working on TBMv2 ads metrics.
The first prototype of these metrics will use the layout tree snapshots
in traces to find ads' sizes and positions. The positions can be compared
with the viewport to find when the ads are on-screen.
Currently, the layout tree snapshots indicate every layout object's size,
position, and type, so we can find iframes and their sizes, but we can't tell if
those iframes are ads.
Catapult has a list of a few known ad networks domains, so if TracedLayoutObject
traced the 'src' attribute for iframe LayoutObjects, then catapult would be able
to tell which iframes are ads.
Since snapshotting LayoutTrees is fairly costly, we don't expect to be able to
implement UMA using them. We are exploring more efficient methods of computing
these metrics while we experiment with computing them in the easy-to-write way
using traces.
Catapult change: https://codereview.chromium.org/1911603002
BUG=597851
CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:android_s5_perf_cq;tryserver.chromium.perf:winx64_10_perf_cq;tryserver.chromium.perf:mac_retina_perf_cq;tryserver.chromium.perf:linux_perf_cq
Patch Set 1 #Patch Set 2 : puf.top25 benchmark #Patch Set 3 : 10k #Patch Set 4 : . #Patch Set 5 : rebase #Patch Set 6 : rebase #
Total comments: 2
Messages
Total messages: 4 (3 generated)
|