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

Unified Diff: ct/py/benchmarks/draw_properties.py

Issue 1392173005: [CT] Update worker scripts to use new benchmarks and delete old benchmarks (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Remove staging code 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: ct/py/benchmarks/draw_properties.py
diff --git a/ct/py/benchmarks/draw_properties.py b/ct/py/benchmarks/draw_properties.py
deleted file mode 100644
index 9cf20e1a44aab5ad0ce669f8a462da0df500a03b..0000000000000000000000000000000000000000
--- a/ct/py/benchmarks/draw_properties.py
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 2015 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.
-
-# This file has been copied from
-# https://chromium.googlesource.com/chromium/src/+/master/tools/perf/benchmarks/draw_properties.py
-# and modified locally to support CT pagesets. Hopefully one day this file
-# will live in telemetry codebase instead.
-
-from benchmarks import silk_flags
-from benchmarks import skpicture_printer
-from measurements import draw_properties
-import page_sets
-from telemetry import benchmark
-
-
-@benchmark.Disabled
-class DrawPropertiesCTPages(benchmark.Benchmark):
- test = draw_properties.DrawProperties
-
- @classmethod
- def AddBenchmarkCommandLineArgs(cls, parser):
- parser.add_option('--page-set-name', action='store', type='string')
- parser.add_option('--page-set-base-dir', action='store', type='string')
-
- @classmethod
- def ProcessCommandLineArgs(cls, parser, args):
- if not args.page_set_name:
- parser.error('Please specify --page-set-name')
- if not args.page_set_base_dir:
- parser.error('Please specify --page-set-base-dir')
-
- def CreateStorySet(self, options):
- page_set_class = skpicture_printer._MatchPageSetName(
- options.page_set_name, options.page_set_base_dir)
- return page_set_class()
-

Powered by Google App Engine
This is Rietveld 408576698