| 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 import os | 4 import os |
| 5 import shlex | 5 import shlex |
| 6 | 6 |
| 7 from core import path_util | 7 from core import path_util |
| 8 from core import perf_benchmark | 8 from core import perf_benchmark |
| 9 from page_sets import google_pages | 9 from page_sets import google_pages |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 @classmethod | 39 @classmethod |
| 40 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 | 40 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 |
| 41 return (possible_browser.browser_type == 'reference' and | 41 return (possible_browser.browser_type == 'reference' and |
| 42 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') | 42 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') |
| 43 | 43 |
| 44 @classmethod | 44 @classmethod |
| 45 def Name(cls): | 45 def Name(cls): |
| 46 return 'v8.top_25_smooth' | 46 return 'v8.top_25_smooth' |
| 47 | 47 |
| 48 | 48 |
| 49 @benchmark.Disabled('all') # crbug.com/610338 | 49 @benchmark.Enabled('android') |
| 50 class V8KeyMobileSites(perf_benchmark.PerfBenchmark): | 50 class V8KeyMobileSites(perf_benchmark.PerfBenchmark): |
| 51 """Measures V8 GC metrics on the while scrolling down key mobile sites. | 51 """Measures V8 GC metrics on the while scrolling down key mobile sites. |
| 52 | 52 |
| 53 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 53 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 54 test = v8_gc_times.V8GCTimes | 54 test = v8_gc_times.V8GCTimes |
| 55 page_set = page_sets.KeyMobileSitesSmoothPageSet | 55 page_set = page_sets.KeyMobileSitesSmoothPageSet |
| 56 | 56 |
| 57 @classmethod | 57 @classmethod |
| 58 def Name(cls): | 58 def Name(cls): |
| 59 return 'v8.key_mobile_sites_smooth' | 59 return 'v8.key_mobile_sites_smooth' |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 def Name(cls): | 223 def Name(cls): |
| 224 return 'v8.google' | 224 return 'v8.google' |
| 225 | 225 |
| 226 @classmethod | 226 @classmethod |
| 227 def ShouldDisable(cls, possible_browser): | 227 def ShouldDisable(cls, possible_browser): |
| 228 return cls.IsSvelte(possible_browser) # http://crbug.com/596556 | 228 return cls.IsSvelte(possible_browser) # http://crbug.com/596556 |
| 229 | 229 |
| 230 @classmethod | 230 @classmethod |
| 231 def ShouldTearDownStateAfterEachStoryRun(cls): | 231 def ShouldTearDownStateAfterEachStoryRun(cls): |
| 232 return True | 232 return True |
| OLD | NEW |