| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import re | 5 import re |
| 6 | 6 |
| 7 from core import perf_benchmark | 7 from core import perf_benchmark |
| 8 from telemetry.timeline import chrome_trace_config | 8 from telemetry.timeline import chrome_trace_config |
| 9 from telemetry.timeline import chrome_trace_category_filter | 9 from telemetry.timeline import chrome_trace_category_filter |
| 10 from telemetry.web_perf import timeline_based_measurement | 10 from telemetry.web_perf import timeline_based_measurement |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 @classmethod | 86 @classmethod |
| 87 def ShouldDisable(cls, possible_browser): | 87 def ShouldDisable(cls, possible_browser): |
| 88 return possible_browser.platform.GetDeviceTypeName() != 'Desktop' | 88 return possible_browser.platform.GetDeviceTypeName() != 'Desktop' |
| 89 | 89 |
| 90 | 90 |
| 91 class V8MobileBrowsingBenchmark(_V8BrowsingBenchmark): | 91 class V8MobileBrowsingBenchmark(_V8BrowsingBenchmark): |
| 92 PLATFORM = 'mobile' | 92 PLATFORM = 'mobile' |
| 93 | 93 |
| 94 @classmethod | 94 @classmethod |
| 95 def ShouldDisable(cls, possible_browser): | 95 def ShouldDisable(cls, possible_browser): |
| 96 # http://crbug.com/629163 |
| 97 if possible_browser.platform.GetDeviceTypeName() == 'Nexus 9': |
| 98 return True |
| 99 |
| 96 return possible_browser.platform.GetDeviceTypeName() == 'Desktop' | 100 return possible_browser.platform.GetDeviceTypeName() == 'Desktop' |
| OLD | NEW |