| 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 10 matching lines...) Expand all Loading... |
| 21 @classmethod | 21 @classmethod |
| 22 def Name(cls): | 22 def Name(cls): |
| 23 return 'oilpan_gc_times.blink_perf_stress' | 23 return 'oilpan_gc_times.blink_perf_stress' |
| 24 | 24 |
| 25 def CreateStorySet(self, options): | 25 def CreateStorySet(self, options): |
| 26 path = os.path.join(blink_perf.BLINK_PERF_BASE_DIR, 'BlinkGC') | 26 path = os.path.join(blink_perf.BLINK_PERF_BASE_DIR, 'BlinkGC') |
| 27 return blink_perf.CreateStorySetFromPath(path, blink_perf.SKIPPED_FILE) | 27 return blink_perf.CreateStorySetFromPath(path, blink_perf.SKIPPED_FILE) |
| 28 | 28 |
| 29 | 29 |
| 30 @benchmark.Disabled('android') # crbug.com/589567 | 30 @benchmark.Disabled('android') # crbug.com/589567 |
| 31 @benchmark.Owner(emails=['peria@chromium.org']) |
| 31 class OilpanGCTimesSmoothnessAnimation(perf_benchmark.PerfBenchmark): | 32 class OilpanGCTimesSmoothnessAnimation(perf_benchmark.PerfBenchmark): |
| 32 test = oilpan_gc_times.OilpanGCTimesForSmoothness | 33 test = oilpan_gc_times.OilpanGCTimesForSmoothness |
| 33 page_set = page_sets.ToughAnimationCasesPageSet | 34 page_set = page_sets.ToughAnimationCasesPageSet |
| 34 | 35 |
| 35 @classmethod | 36 @classmethod |
| 36 def Name(cls): | 37 def Name(cls): |
| 37 return 'oilpan_gc_times.tough_animation_cases' | 38 return 'oilpan_gc_times.tough_animation_cases' |
| 38 | 39 |
| 39 | 40 |
| 40 @benchmark.Enabled('android') | 41 @benchmark.Enabled('android') |
| (...skipping 16 matching lines...) Expand all Loading... |
| 57 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) | 58 silk_flags.CustomizeBrowserOptionsForSyncScrolling(options) |
| 58 | 59 |
| 59 @classmethod | 60 @classmethod |
| 60 def Name(cls): | 61 def Name(cls): |
| 61 return 'oilpan_gc_times.sync_scroll.key_mobile_sites_smooth' | 62 return 'oilpan_gc_times.sync_scroll.key_mobile_sites_smooth' |
| 62 | 63 |
| 63 @classmethod | 64 @classmethod |
| 64 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 | 65 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 |
| 65 return (possible_browser.browser_type == 'reference' and | 66 return (possible_browser.browser_type == 'reference' and |
| 66 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') | 67 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') |
| OLD | NEW |