Chromium Code Reviews| Index: tools/perf/benchmarks/tab_switching.py |
| diff --git a/tools/perf/benchmarks/tab_switching.py b/tools/perf/benchmarks/tab_switching.py |
| index 93cdd956875c4e4888ad4f4f9c9fbbe85f47c8b4..ba8f0d329902b97237363fb82cc5b22c14495a3a 100644 |
| --- a/tools/perf/benchmarks/tab_switching.py |
| +++ b/tools/perf/benchmarks/tab_switching.py |
| @@ -102,12 +102,26 @@ class TabSwitchingToughImageCases(benchmark.Benchmark): |
| return 'tab_switching.tough_image_cases' |
| -@benchmark.Disabled # Just for local testing, not on waterfall. |
| +@benchmark.Enabled('has tabs') |
|
sullivan
2015/05/08 14:09:08
This will run on some android bots (downstream). I
Dan Beam
2015/05/08 23:32:51
Done.
|
| class TabSwitchingFlashEnergyCases(benchmark.Benchmark): |
| test = tab_switching.TabSwitching |
| page_set = page_sets.FlashEnergyCasesPageSet |
| options = {'pageset_repeat': 10} |
| + |
| @classmethod |
| def Name(cls): |
| return 'tab_switching.flash_energy_cases' |
| + |
| +@benchmark.Enabled('has tabs') |
| +class TabSwitchingPluginPowerSaver(benchmark.Benchmark): |
|
Dan Beam
2015/05/08 01:16:21
could also derive TabSwitchingFlashEnergyCases if
|
| + test = tab_switching.TabSwitching |
| + page_set = page_sets.FlashEnergyCasesPageSet |
| + options = {'pageset_repeat': 10} |
| + |
| + def CustomizeBrowserOptions(self, options): |
| + options.AppendExtraBrowserArgs(['--enable-plugin-power-saver']) |
| + |
| + @classmethod |
| + def Name(cls): |
| + return 'tab_switching.plugin_power_saver' |