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 30 matching lines...) Expand all Loading... |
41 @benchmark.Enabled('android') | 41 @benchmark.Enabled('android') |
42 class OilpanGCTimesKeySilkCases(perf_benchmark.PerfBenchmark): | 42 class OilpanGCTimesKeySilkCases(perf_benchmark.PerfBenchmark): |
43 test = oilpan_gc_times.OilpanGCTimesForSmoothness | 43 test = oilpan_gc_times.OilpanGCTimesForSmoothness |
44 page_set = page_sets.KeySilkCasesPageSet | 44 page_set = page_sets.KeySilkCasesPageSet |
45 | 45 |
46 @classmethod | 46 @classmethod |
47 def Name(cls): | 47 def Name(cls): |
48 return 'oilpan_gc_times.key_silk_cases' | 48 return 'oilpan_gc_times.key_silk_cases' |
49 | 49 |
50 | 50 |
51 @benchmark.Enabled('android') | 51 @benchmark.Disabled('all') # crbug.com/702194 |
| 52 #@benchmark.Enabled('android') |
52 class OilpanGCTimesSyncScrollKeyMobileSites(perf_benchmark.PerfBenchmark): | 53 class OilpanGCTimesSyncScrollKeyMobileSites(perf_benchmark.PerfBenchmark): |
53 tag = 'sync_scroll' | 54 tag = 'sync_scroll' |
54 test = oilpan_gc_times.OilpanGCTimesForSmoothness | 55 test = oilpan_gc_times.OilpanGCTimesForSmoothness |
55 page_set = page_sets.KeyMobileSitesSmoothPageSet | 56 page_set = page_sets.KeyMobileSitesSmoothPageSet |
56 | 57 |
57 def SetExtraBrowserOptions(self, options): | 58 def SetExtraBrowserOptions(self, options): |
58 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) | 59 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) |
59 | 60 |
60 @classmethod | 61 @classmethod |
61 def Name(cls): | 62 def Name(cls): |
62 return 'oilpan_gc_times.sync_scroll.key_mobile_sites_smooth' | 63 return 'oilpan_gc_times.sync_scroll.key_mobile_sites_smooth' |
63 | 64 |
64 @classmethod | 65 @classmethod |
65 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 | 66 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 |
66 return (possible_browser.browser_type == 'reference' and | 67 return (possible_browser.browser_type == 'reference' and |
67 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') | 68 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') |
OLD | NEW |