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

Unified Diff: tools/perf/benchmarks/rasterize_and_record_micro.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/ct_benchmarks_unittest.py ('k') | tools/perf/benchmarks/repaint.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/benchmarks/rasterize_and_record_micro.py
diff --git a/tools/perf/benchmarks/rasterize_and_record_micro.py b/tools/perf/benchmarks/rasterize_and_record_micro.py
index 9a5ababf4d34e1252feed93313e8001a57e20653..75e9541063d00a08cf6affdaa9aaba80369c710b 100644
--- a/tools/perf/benchmarks/rasterize_and_record_micro.py
+++ b/tools/perf/benchmarks/rasterize_and_record_micro.py
@@ -4,6 +4,7 @@
from core import perf_benchmark
+import ct_benchmarks_util
from measurements import rasterize_and_record_micro
import page_sets
from telemetry import benchmark
@@ -95,3 +96,27 @@ class RasterizeAndRecordMicroPolymer(_RasterizeAndRecordMicro):
def CreateStorySet(self, options):
return page_sets.PolymerPageSet(run_no_page_interactions=True)
+
+
+# Disabled because we do not plan on running CT benchmarks on the perf
+# waterfall any time soon.
+@benchmark.Disabled
+class RasterizeAndRecordMicroCT(_RasterizeAndRecordMicro):
+ """Measures rasterize and record performance for Cluster Telemetry."""
+
+ @classmethod
+ def Name(cls):
+ return 'rasterize_and_record_micro_ct'
+
+ @classmethod
+ def AddBenchmarkCommandLineArgs(cls, parser):
+ _RasterizeAndRecordMicro.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/ct_benchmarks_unittest.py ('k') | tools/perf/benchmarks/repaint.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698