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

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

Issue 2629943003: Disable power.gpu_rasterization.typical_10_mobile on Nexus 9 (Closed)
Patch Set: Created 3 years, 11 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/power.py
diff --git a/tools/perf/benchmarks/power.py b/tools/perf/benchmarks/power.py
index 1047cab5803c84c3e8c6bbe65494c4ecec637c37..10c94618ebf1245be61542a7f70817f0b61132bd 100644
--- a/tools/perf/benchmarks/power.py
+++ b/tools/perf/benchmarks/power.py
@@ -102,10 +102,18 @@ class PowerGpuRasterizationTypical10Mobile(perf_benchmark.PerfBenchmark):
@classmethod
def ShouldDisable(cls, possible_browser):
- # http://crbug.com/563968, http://crbug.com/593973
- return (cls.IsSvelte(possible_browser) or
- (possible_browser.browser_type == 'reference' and
- possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X'))
+ # http://crbug.com/563968
+ if cls.IsSvelte(possible_browser):
+ return True
+
+
+ # http://crbug.com/593973
+ if (possible_browser.browser_type == 'reference' and
+ possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X'):
+ return True
+
+ # http://crbug.com/671631
+ return possible_browser.platform.GetDeviceTypeName() == 'Nexus 9'
@benchmark.Enabled('mac')
« 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