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

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

Issue 2560483002: Disable power.gpu_rasterization.typical_10_mobile on Nexus 9 (Closed)
Patch Set: Created 4 years 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/power.py
diff --git a/tools/perf/benchmarks/power.py b/tools/perf/benchmarks/power.py
index 06f73134f53419b6fa000ada3c0fecac8710cd87..1047cab5803c84c3e8c6bbe65494c4ecec637c37 100644
--- a/tools/perf/benchmarks/power.py
+++ b/tools/perf/benchmarks/power.py
@@ -34,9 +34,14 @@ class PowerTypical10Mobile(perf_benchmark.PerfBenchmark):
options.full_performance_mode = False
@classmethod
- def ShouldDisable(cls, possible_browser): # http://crbug.com/597656
- return (possible_browser.browser_type == 'reference' and
- possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X')
+ def ShouldDisable(cls, possible_browser):
+ # http://crbug.com/597656
+ if (possible_browser.browser_type == 'reference' and
+ possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X'):
+ return True
+
+ # crbug.com/671631
+ return possible_browser.platform.GetDeviceTypeName() == 'Nexus 9'
@classmethod
def Name(cls):
« 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