| OLD | NEW |
| 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 | 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 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 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 @benchmark.Enabled('has tabs') | 30 @benchmark.Enabled('has tabs') |
| 31 class TabSwitchingToughEnergyCases(benchmark.Benchmark): | 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} |
| 35 |
| 36 |
| 37 @benchmark.Enabled('has tabs') |
| 38 class TabSwitchingFlashEnergyCases(benchmark.Benchmark): |
| 39 test = tab_switching.TabSwitching |
| 40 page_set = page_sets.FlashEnergyCasesPageSet |
| 41 options = {'pageset_repeat': 10} |
| OLD | NEW |