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

Unified Diff: tools/perf/benchmarks/system_health.py

Issue 2534243002: [tools/perf] Enable loading metrics for common system health benchmarks (Closed)
Patch Set: Fix loading.cluster_telemetry Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/benchmarks/page_cycler_v2.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/system_health.py
diff --git a/tools/perf/benchmarks/system_health.py b/tools/perf/benchmarks/system_health.py
index 35d838129282f8da2de22542654fc673e80bab4c..80539198fbdae81ca5f10c974cd12e7aa9ab8b62 100644
--- a/tools/perf/benchmarks/system_health.py
+++ b/tools/perf/benchmarks/system_health.py
@@ -4,7 +4,10 @@
import re
+from benchmarks import page_cycler_v2
+
from core import perf_benchmark
+
from telemetry import benchmark
from telemetry.timeline import chrome_trace_category_filter
from telemetry.timeline import chrome_trace_config
@@ -37,6 +40,7 @@ class _CommonSystemHealthBenchmark(perf_benchmark.PerfBenchmark):
options.config.enable_battor_trace = True
options.config.enable_chrome_trace = True
options.SetTimelineBasedMetrics(['clockSyncLatencyMetric', 'powerMetric'])
+ page_cycler_v2.AugmentOptionsForLoadingMetrics(options)
return options
def CreateStorySet(self, options):
« no previous file with comments | « tools/perf/benchmarks/page_cycler_v2.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698