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

Side by Side Diff: tools/perf/benchmarks/rasterize_and_record_micro.py

Issue 1029263003: [telemetry] Sort imports in Telemetry and its dependents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure we're up to date. Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « tools/perf/benchmarks/power.py ('k') | tools/perf/benchmarks/repaint.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from telemetry import benchmark
6
5 from measurements import rasterize_and_record_micro 7 from measurements import rasterize_and_record_micro
6 import page_sets 8 import page_sets
7 from telemetry import benchmark
8 9
9 10
10 class _RasterizeAndRecordMicro(benchmark.Benchmark): 11 class _RasterizeAndRecordMicro(benchmark.Benchmark):
11 @classmethod 12 @classmethod
12 def AddBenchmarkCommandLineArgs(cls, parser): 13 def AddBenchmarkCommandLineArgs(cls, parser):
13 parser.add_option('--start-wait-time', type='float', 14 parser.add_option('--start-wait-time', type='float',
14 default=2, 15 default=2,
15 help='Wait time before the benchmark is started ' 16 help='Wait time before the benchmark is started '
16 '(must be long enought to load all content)') 17 '(must be long enought to load all content)')
17 parser.add_option('--rasterize-repeat', type='int', 18 parser.add_option('--rasterize-repeat', type='int',
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 """Measures rasterize and record performance on the Polymer cases. 104 """Measures rasterize and record performance on the Polymer cases.
104 105
105 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 106 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
106 107
107 @classmethod 108 @classmethod
108 def Name(cls): 109 def Name(cls):
109 return 'rasterize_and_record_micro.polymer' 110 return 'rasterize_and_record_micro.polymer'
110 111
111 def CreatePageSet(self, options): 112 def CreatePageSet(self, options):
112 return page_sets.PolymerPageSet(run_no_page_interactions=True) 113 return page_sets.PolymerPageSet(run_no_page_interactions=True)
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/power.py ('k') | tools/perf/benchmarks/repaint.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698