Explicitly add python-numpy dependency to install-build-deps.
[chromium-blink-merge.git] / tools / perf / benchmarks / tab_switching.py
blobe5b04363b340911442251f6bc767fc6ba383bd1e
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
3 # found in the LICENSE file.
5 from telemetry import benchmark
7 from measurements import tab_switching
8 import page_sets
11 @benchmark.Enabled('has tabs')
12 class TabSwitchingTop10(benchmark.Benchmark):
13 test = tab_switching.TabSwitching
14 page_set = page_sets.Top10PageSet
17 @benchmark.Enabled('has tabs')
18 class TabSwitchingTypical25(benchmark.Benchmark):
19 test = tab_switching.TabSwitching
20 page_set = page_sets.Typical25PageSet
23 @benchmark.Enabled('has tabs')
24 class TabSwitchingFiveBlankTabs(benchmark.Benchmark):
25 test = tab_switching.TabSwitching
26 page_set = page_sets.FiveBlankPagesPageSet
27 options = {'pageset_repeat': 10}
30 @benchmark.Enabled('has tabs')
31 class TabSwitchingToughEnergyCases(benchmark.Benchmark):
32 test = tab_switching.TabSwitching
33 page_set = page_sets.ToughEnergyCasesPageSet
34 options = {'pageset_repeat': 10}
37 @benchmark.Disabled # Just for local testing, not on waterfall.
38 class TabSwitchingFlashEnergyCases(benchmark.Benchmark):
39 test = tab_switching.TabSwitching
40 page_set = page_sets.FlashEnergyCasesPageSet
41 options = {'pageset_repeat': 10}