Commit 6bd98b36 authored by Alex Turner's avatar Alex Turner Committed by Commit Bot

Add new metrics for ad_tagging.cluster_telemetry benchmark

Adds PageLoad.Cpu.TotalUsage and
PageLoad.PaintTiming.NavigationToFirstContentfulPaint, which are both
high-level metrics that allow us to track the impact of (ads and other)
scripts on page load performance.

Bug: 1036160
Change-Id: I530481cd5023d159624defb7e9ccf992945d0b24
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1977957
Commit-Queue: Alex Turner <alexmt@chromium.org>
Reviewed-by: default avatarJohn Delaney <johnidel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#728216}
parent 72ed5aea
......@@ -44,7 +44,9 @@ class AdTaggingClusterTelemetry(perf_benchmark.PerfBenchmark):
'PageLoad.Clients.Ads.Cpu.AdFrames.Aggregate.TotalUsage',
'PageLoad.Clients.Ads.Cpu.FullPage.TotalUsage',
'PageLoad.Clients.Ads.Resources.Bytes.Ads2',
'PageLoad.Cpu.TotalUsage',
'PageLoad.Experimental.Bytes.NetworkIncludingHeaders',
'PageLoad.PaintTiming.NavigationToFirstContentfulPaint',
]
for histogram in uma_histograms:
tbm_options.config.chrome_trace_config.EnableUMAHistograms(histogram)
......
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