Commit c3834fe1 authored by Annie Sullivan's avatar Annie Sullivan Committed by Commit Bot

Report CumulativeLayoutShift via UMA in loading benchmark

Bug: 1049117
Change-Id: I1e90a9614c4b53b54c153e0c200ce3352cc40fe4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2065399Reviewed-by: default avatarAnnie Sullivan <sullivan@chromium.org>
Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
Commit-Queue: Annie Sullivan <sullivan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#742954}
parent e20a1040
...@@ -25,9 +25,10 @@ class _LoadingBase(perf_benchmark.PerfBenchmark): ...@@ -25,9 +25,10 @@ class _LoadingBase(perf_benchmark.PerfBenchmark):
# memory used throughout the page loading tests. Include "umaMetric" as a # memory used throughout the page loading tests. Include "umaMetric" as a
# timeline so that we can parse this UMA Histogram. # timeline so that we can parse this UMA Histogram.
tbm_options.config.chrome_trace_config.EnableUMAHistograms( tbm_options.config.chrome_trace_config.EnableUMAHistograms(
'Memory.GPU.PeakMemoryUsage.PageLoad', 'Memory.GPU.PeakMemoryUsage.PageLoad',
'PageLoad.PaintTiming.NavigationToLargestContentfulPaint', 'PageLoad.PaintTiming.NavigationToLargestContentfulPaint',
'PageLoad.PaintTiming.NavigationToFirstContentfulPaint') 'PageLoad.PaintTiming.NavigationToFirstContentfulPaint',
'PageLoad.LayoutInstability.CumulativeShiftScore')
# Add "umaMetric" to the timeline based metrics. This does not override # Add "umaMetric" to the timeline based metrics. This does not override
# those added in loading_metrics_category.AugmentOptionsForLoadingMetrics. # those added in loading_metrics_category.AugmentOptionsForLoadingMetrics.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment