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

Unified Diff: tools/perf/benchmarks/repaint.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/benchmarks/repaint.py
diff --git a/tools/perf/benchmarks/repaint.py b/tools/perf/benchmarks/repaint.py
deleted file mode 100644
index 3e1852cc9ac9e5d7620a97054f8c95673980d5a4..0000000000000000000000000000000000000000
--- a/tools/perf/benchmarks/repaint.py
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from core import perf_benchmark
-
-import ct_benchmarks_util
-from measurements import smoothness
-
-import page_sets
-from page_sets import repaint_helpers
-
-from telemetry import benchmark
-
-# Disabled because we do not plan on running CT benchmarks on the perf
-# waterfall any time soon.
-@benchmark.Disabled('all')
-class RepaintCT(perf_benchmark.PerfBenchmark):
- """Measures repaint performance for Cluster Telemetry."""
-
- @classmethod
- def Name(cls):
- return 'repaint_ct'
-
- @classmethod
- def AddBenchmarkCommandLineArgs(cls, parser):
- parser.add_option('--mode', type='string',
- default='viewport',
- help='Invalidation mode. '
- 'Supported values: fixed_size, layer, random, viewport.')
- parser.add_option('--width', type='int',
- default=None,
- help='Width of invalidations for fixed_size mode.')
- parser.add_option('--height', type='int',
- default=None,
- help='Height of invalidations for fixed_size mode.')
- 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,
- run_page_interaction_callback=repaint_helpers.WaitThenRepaint)
-
- def CreatePageTest(self, options):
- return smoothness.Repaint()

Powered by Google App Engine
This is Rietveld 408576698