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

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

Issue 994683003: Rename page filter options to story options. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename filter options in benchmarks. 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
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 benchmarks import silk_flags 5 from benchmarks import silk_flags
6 from measurements import thread_times 6 from measurements import thread_times
7 import page_sets 7 import page_sets
8 from telemetry import benchmark 8 from telemetry import benchmark
9 9
10 class _ThreadTimes(benchmark.Benchmark): 10 class _ThreadTimes(benchmark.Benchmark):
(...skipping 29 matching lines...) Expand all
40 @classmethod 40 @classmethod
41 def Name(cls): 41 def Name(cls):
42 return 'thread_times.key_hit_test_cases' 42 return 'thread_times.key_hit_test_cases'
43 43
44 @benchmark.Enabled('android') 44 @benchmark.Enabled('android')
45 class ThreadTimesFastPathMobileSites(_ThreadTimes): 45 class ThreadTimesFastPathMobileSites(_ThreadTimes):
46 """Measures timeline metrics while performing smoothness action on 46 """Measures timeline metrics while performing smoothness action on
47 key mobile sites labeled with fast-path tag. 47 key mobile sites labeled with fast-path tag.
48 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 48 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
49 page_set = page_sets.KeyMobileSitesSmoothPageSet 49 page_set = page_sets.KeyMobileSitesSmoothPageSet
50 options = {'page_label_filter' : 'fastpath'} 50 options = {'story_label_filter' : 'fastpath'}
51 51
52 @classmethod 52 @classmethod
53 def Name(cls): 53 def Name(cls):
54 return 'thread_times.key_mobile_sites_smooth' 54 return 'thread_times.key_mobile_sites_smooth'
55 55
56 56
57 @benchmark.Enabled('android') 57 @benchmark.Enabled('android')
58 class ThreadTimesSimpleMobileSites(_ThreadTimes): 58 class ThreadTimesSimpleMobileSites(_ThreadTimes):
59 """Measures timeline metric using smoothness action on simple mobile sites 59 """Measures timeline metric using smoothness action on simple mobile sites
60 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" 60 http://www.chromium.org/developers/design-documents/rendering-benchmarks"""
(...skipping 20 matching lines...) Expand all
81 81
82 @benchmark.Enabled('android') 82 @benchmark.Enabled('android')
83 class ThreadTimesPolymer(_ThreadTimes): 83 class ThreadTimesPolymer(_ThreadTimes):
84 """Measures timeline metrics while performing smoothness action on 84 """Measures timeline metrics while performing smoothness action on
85 Polymer cases.""" 85 Polymer cases."""
86 page_set = page_sets.PolymerPageSet 86 page_set = page_sets.PolymerPageSet
87 @classmethod 87 @classmethod
88 def Name(cls): 88 def Name(cls):
89 return 'thread_times.polymer' 89 return 'thread_times.polymer'
90 90
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/smoothness.py ('k') | tools/telemetry/telemetry/user_story/user_story_filter.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698