| 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 | 5 |
| 6 from core import path_util | 6 from core import path_util |
| 7 from core import perf_benchmark | 7 from core import perf_benchmark |
| 8 from page_sets import google_pages | 8 from page_sets import google_pages |
| 9 | 9 |
| 10 from benchmarks import v8_helper | 10 from benchmarks import v8_helper |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 @classmethod | 41 @classmethod |
| 42 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 | 42 def ShouldDisable(cls, possible_browser): # http://crbug.com/597656 |
| 43 return (possible_browser.browser_type == 'reference' and | 43 return (possible_browser.browser_type == 'reference' and |
| 44 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') | 44 possible_browser.platform.GetDeviceTypeName() == 'Nexus 5X') |
| 45 | 45 |
| 46 @classmethod | 46 @classmethod |
| 47 def Name(cls): | 47 def Name(cls): |
| 48 return 'v8.top_25_smooth' | 48 return 'v8.top_25_smooth' |
| 49 | 49 |
| 50 | 50 |
| 51 @benchmark.Disabled('all') # crbug.com/702194 | 51 @benchmark.Enabled('android') |
| 52 #@benchmark.Enabled('android') | |
| 53 @benchmark.Owner(emails=['hpayer@chromium.org', 'rmcilroy@chromium.org']) | 52 @benchmark.Owner(emails=['hpayer@chromium.org', 'rmcilroy@chromium.org']) |
| 54 class V8KeyMobileSites(perf_benchmark.PerfBenchmark): | 53 class V8KeyMobileSites(perf_benchmark.PerfBenchmark): |
| 55 """Measures V8 GC metrics on the while scrolling down key mobile sites. | 54 """Measures V8 GC metrics on the while scrolling down key mobile sites. |
| 56 | 55 |
| 57 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 56 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 58 test = v8_gc_times.V8GCTimes | 57 test = v8_gc_times.V8GCTimes |
| 59 page_set = page_sets.KeyMobileSitesSmoothPageSet | 58 page_set = page_sets.KeyMobileSitesSmoothPageSet |
| 60 | 59 |
| 61 @classmethod | 60 @classmethod |
| 62 def Name(cls): | 61 def Name(cls): |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 Designed to represent a mix between top websites and a set of pages that | 359 Designed to represent a mix between top websites and a set of pages that |
| 361 have unique V8 characteristics. | 360 have unique V8 characteristics. |
| 362 """ | 361 """ |
| 363 | 362 |
| 364 @classmethod | 363 @classmethod |
| 365 def Name(cls): | 364 def Name(cls): |
| 366 return 'v8.runtime_stats.top_25' | 365 return 'v8.runtime_stats.top_25' |
| 367 | 366 |
| 368 def CreateStorySet(self, options): | 367 def CreateStorySet(self, options): |
| 369 return page_sets.V8Top25StorySet() | 368 return page_sets.V8Top25StorySet() |
| OLD | NEW |