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

Unified Diff: tools/perf/measurements/smoothness.py

Issue 1859943003: [tools/perf] Explicitly enable display tracing for smoothness metric (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/smoothness.py
diff --git a/tools/perf/measurements/smoothness.py b/tools/perf/measurements/smoothness.py
index 022ba6c99154adc6f74bb951ef2893d048f42417..8456597b5ccd0ac93e5ff4eed07bd835bdf61bdf 100644
--- a/tools/perf/measurements/smoothness.py
+++ b/tools/perf/measurements/smoothness.py
@@ -50,6 +50,7 @@ class Smoothness(page_test.PageTest):
','.join(custom_categories))
options = timeline_based_measurement.Options(category_filter)
+ options.config.enable_platform_display_trace = True
options.SetLegacyTimelineBasedMetrics([smoothness.SmoothnessMetric()])
for delay in page.GetSyntheticDelayCategories():
options.category_filter.AddSyntheticDelay(delay)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698