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

Unified Diff: tools/perf/benchmarks/tab_switching.py

Issue 1137613002: Re-enable tab switching flash energy tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sullivan@ review Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..00ec0f7dcb17e6615c94064a15b7e245ba58c7e1 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('linux', 'mac', 'win', 'chromeos')
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('linux', 'mac', 'win', 'chromeos')
+class TabSwitchingPluginPowerSaver(benchmark.Benchmark):
+ 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'
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698