| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 os | 5 import os |
| 6 | 6 |
| 7 from core import perf_benchmark | 7 from core import perf_benchmark |
| 8 | 8 |
| 9 from benchmarks import blink_perf | 9 from benchmarks import blink_perf |
| 10 from benchmarks import silk_flags | 10 from benchmarks import silk_flags |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 tag = 'sync_scroll' | 52 tag = 'sync_scroll' |
| 53 test = oilpan_gc_times.OilpanGCTimesForSmoothness | 53 test = oilpan_gc_times.OilpanGCTimesForSmoothness |
| 54 page_set = page_sets.KeyMobileSitesSmoothPageSet | 54 page_set = page_sets.KeyMobileSitesSmoothPageSet |
| 55 | 55 |
| 56 def SetExtraBrowserOptions(self, options): | 56 def SetExtraBrowserOptions(self, options): |
| 57 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) | 57 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) |
| 58 | 58 |
| 59 @classmethod | 59 @classmethod |
| 60 def Name(cls): | 60 def Name(cls): |
| 61 return 'oilpan_gc_times.sync_scroll.key_mobile_sites_smooth' | 61 return 'oilpan_gc_times.sync_scroll.key_mobile_sites_smooth' |
| 62 |
| 63 @classmethod |
| 64 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 |
| 65 return (possible_browser.browser_type == 'reference' and |
| 66 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') |
| OLD | NEW |