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