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

Unified Diff: tools/perf/contrib/cluster_telemetry/multipage_skpicture_printer.py

Issue 2876073003: Migrate cluster telemetry benchmarks to tools/perf/contrib/cluster_telemetry/ (Closed)
Patch Set: Remove BENCHMARKS_BLACK_LIST Created 3 years, 7 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/contrib/cluster_telemetry/multipage_skpicture_printer.py
diff --git a/tools/perf/benchmarks/multipage_skpicture_printer.py b/tools/perf/contrib/cluster_telemetry/multipage_skpicture_printer.py
similarity index 86%
rename from tools/perf/benchmarks/multipage_skpicture_printer.py
rename to tools/perf/contrib/cluster_telemetry/multipage_skpicture_printer.py
index d74240fd77cc1b8a3cccac30a371b7c4f5341252..3ad1d47a6afed26f30d4dc7347f17f98143fca5f 100644
--- a/tools/perf/benchmarks/multipage_skpicture_printer.py
+++ b/tools/perf/contrib/cluster_telemetry/multipage_skpicture_printer.py
@@ -4,10 +4,10 @@
from core import perf_benchmark
-import ct_benchmarks_util
-import page_sets
-from page_sets import repaint_helpers
-from telemetry import benchmark
+from contrib.cluster_telemetry import ct_benchmarks_util
+from contrib.cluster_telemetry import page_set
+from contrib.cluster_telemetry import repaint_helpers
+
from telemetry.core import discover
from telemetry import story
@@ -23,9 +23,6 @@ def _MatchPageSetName(story_set_name, story_set_base_dir):
return None
-# Disabled because we do not plan on running this mSKP benchmark on the perf
-# waterfall any time soon.
-@benchmark.Disabled('all')
class MultipageSkpicturePrinter(perf_benchmark.PerfBenchmark):
@classmethod
@@ -58,9 +55,6 @@ class MultipageSkpicturePrinter(perf_benchmark.PerfBenchmark):
return story_set_class()
-# Disabled because we do not plan on running CT benchmarks on the perf
-# waterfall any time soon.
-@benchmark.Disabled('all')
class MultipageSkpicturePrinterCT(perf_benchmark.PerfBenchmark):
"""Captures mSKPs for Cluster Telemetry."""
@@ -84,6 +78,6 @@ class MultipageSkpicturePrinterCT(perf_benchmark.PerfBenchmark):
options.mskp_outdir)
def CreateStorySet(self, options):
- return page_sets.CTPageSet(
+ return page_set.CTPageSet(
options.urls_list, options.user_agent, options.archive_data_file,
run_page_interaction_callback=repaint_helpers.WaitThenRepaint)

Powered by Google App Engine
This is Rietveld 408576698