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

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

Issue 1393023002: Move CT pages / page sets / benchmarks into Telemetry repo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 5 years, 2 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 | « tools/perf/benchmarks/rasterize_and_record_micro.py ('k') | tools/perf/benchmarks/skpicture_printer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/repaint.py
diff --git a/tools/perf/benchmarks/repaint.py b/tools/perf/benchmarks/repaint.py
index 2293c0446ab52eec351cd03b6263dd9957ffa2e1..569d381a9d93a26686f5e5737f027f338de399f7 100644
--- a/tools/perf/benchmarks/repaint.py
+++ b/tools/perf/benchmarks/repaint.py
@@ -5,6 +5,7 @@
from core import perf_benchmark
from benchmarks import silk_flags
+import ct_benchmarks_util
from measurements import smoothness
import page_sets
from telemetry import benchmark
@@ -64,3 +65,26 @@ class RepaintGpuRasterizationKeyMobileSites(_Repaint):
def Name(cls):
return 'repaint.gpu_rasterization.key_mobile_sites_repaint'
+
+# Disabled because we do not plan on running CT benchmarks on the perf
+# waterfall any time soon.
+@benchmark.Disabled
+class RepaintCT(_Repaint):
+ """Measures repaint performance for Cluster Telemetry."""
+
+ @classmethod
+ def Name(cls):
+ return 'repaint_ct'
+
+ @classmethod
+ def AddBenchmarkCommandLineArgs(cls, parser):
+ _Repaint.AddBenchmarkCommandLineArgs(parser)
+ ct_benchmarks_util.AddBenchmarkCommandLineArgs(parser)
+
+ @classmethod
+ def ProcessCommandLineArgs(cls, parser, args):
+ ct_benchmarks_util.ValidateCommandLineArgs(parser, args)
+
+ def CreateStorySet(self, options):
+ return page_sets.CTPageSet(
+ options.urls_list, options.user_agent, options.archive_data_file)
« no previous file with comments | « tools/perf/benchmarks/rasterize_and_record_micro.py ('k') | tools/perf/benchmarks/skpicture_printer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698