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

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

Issue 337603005: Rename telemetry.test.Test to telemetry.benchmark.Benchmark. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/sunspider.py ('k') | tools/perf/benchmarks/thread_times.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 test 5 from telemetry import benchmark
6 6
7 from measurements import tab_switching 7 from measurements import tab_switching
8 import page_sets 8 import page_sets
9 9
10 10
11 @test.Enabled('has tabs') 11 @benchmark.Enabled('has tabs')
12 class TabSwitchingTop10(test.Test): 12 class TabSwitchingTop10(benchmark.Benchmark):
13 test = tab_switching.TabSwitching 13 test = tab_switching.TabSwitching
14 page_set = page_sets.Top10PageSet 14 page_set = page_sets.Top10PageSet
15 15
16 16
17 @test.Enabled('has tabs') 17 @benchmark.Enabled('has tabs')
18 class TabSwitchingTypical25(test.Test): 18 class TabSwitchingTypical25(benchmark.Benchmark):
19 test = tab_switching.TabSwitching 19 test = tab_switching.TabSwitching
20 page_set = page_sets.Typical25PageSet 20 page_set = page_sets.Typical25PageSet
21 21
22 22
23 @test.Enabled('has tabs') 23 @benchmark.Enabled('has tabs')
24 class TabSwitchingFiveBlankTabs(test.Test): 24 class TabSwitchingFiveBlankTabs(benchmark.Benchmark):
25 test = tab_switching.TabSwitching 25 test = tab_switching.TabSwitching
26 page_set = page_sets.FiveBlankPagesPageSet 26 page_set = page_sets.FiveBlankPagesPageSet
27 options = {'pageset_repeat': 10} 27 options = {'pageset_repeat': 10}
28 28
29 29
30 @test.Enabled('has tabs') 30 @benchmark.Enabled('has tabs')
31 class TabSwitchingToughEnergyCases(test.Test): 31 class TabSwitchingToughEnergyCases(benchmark.Benchmark):
32 test = tab_switching.TabSwitching 32 test = tab_switching.TabSwitching
33 page_set = page_sets.ToughEnergyCasesPageSet 33 page_set = page_sets.ToughEnergyCasesPageSet
34 options = {'pageset_repeat': 10} 34 options = {'pageset_repeat': 10}
OLDNEW
« no previous file with comments | « tools/perf/benchmarks/sunspider.py ('k') | tools/perf/benchmarks/thread_times.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698