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

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: Fix lint 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
Index: tools/perf/benchmarks/repaint.py
diff --git a/tools/perf/benchmarks/repaint.py b/tools/perf/benchmarks/repaint.py
index 2293c0446ab52eec351cd03b6263dd9957ffa2e1..47675de1eadb870e4b013929dea9253d22d96699 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,24 @@ class RepaintGpuRasterizationKeyMobileSites(_Repaint):
def Name(cls):
return 'repaint.gpu_rasterization.key_mobile_sites_repaint'
+
+@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)

Powered by Google App Engine
This is Rietveld 408576698