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

Side by Side Diff: tools/perf/benchmarks/thread_times.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/task_execution_time.py ('k') | tools/perf/benchmarks/v8.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 benchmarks import silk_flags 7 from benchmarks import silk_flags
6 from measurements import thread_times 8 from measurements import thread_times
7 import page_sets 9 import page_sets
8 from telemetry import benchmark
9 10
10 class _ThreadTimes(benchmark.Benchmark): 11 class _ThreadTimes(benchmark.Benchmark):
11 @classmethod 12 @classmethod
12 def AddBenchmarkCommandLineArgs(cls, parser): 13 def AddBenchmarkCommandLineArgs(cls, parser):
13 parser.add_option('--report-silk-details', action='store_true', 14 parser.add_option('--report-silk-details', action='store_true',
14 help='Report details relevant to silk.') 15 help='Report details relevant to silk.')
15 16
16 @classmethod 17 @classmethod
17 def Name(cls): 18 def Name(cls):
18 return 'thread_times' 19 return 'thread_times'
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 82
82 @benchmark.Enabled('android') 83 @benchmark.Enabled('android')
83 class ThreadTimesPolymer(_ThreadTimes): 84 class ThreadTimesPolymer(_ThreadTimes):
84 """Measures timeline metrics while performing smoothness action on 85 """Measures timeline metrics while performing smoothness action on
85 Polymer cases.""" 86 Polymer cases."""
86 page_set = page_sets.PolymerPageSet 87 page_set = page_sets.PolymerPageSet
87 @classmethod 88 @classmethod
88 def Name(cls): 89 def Name(cls):
89 return 'thread_times.polymer' 90 return 'thread_times.polymer'
90 91
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/task_execution_time.py ('k') | tools/perf/benchmarks/v8.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698