| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 50 |
| 51 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 51 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 52 test = v8_gc_times.V8GCTimes | 52 test = v8_gc_times.V8GCTimes |
| 53 page_set = page_sets.KeyMobileSitesSmoothPageSet | 53 page_set = page_sets.KeyMobileSitesSmoothPageSet |
| 54 | 54 |
| 55 @classmethod | 55 @classmethod |
| 56 def Name(cls): | 56 def Name(cls): |
| 57 return 'v8.key_mobile_sites_smooth' | 57 return 'v8.key_mobile_sites_smooth' |
| 58 | 58 |
| 59 | 59 |
| 60 @benchmark.Owner(emails=['ulan@chromium.org']) |
| 60 class V8DetachedContextAgeInGC(perf_benchmark.PerfBenchmark): | 61 class V8DetachedContextAgeInGC(perf_benchmark.PerfBenchmark): |
| 61 """Measures the number of GCs needed to collect a detached context. | 62 """Measures the number of GCs needed to collect a detached context. |
| 62 | 63 |
| 63 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" | 64 http://www.chromium.org/developers/design-documents/rendering-benchmarks""" |
| 64 test = v8_detached_context_age_in_gc.V8DetachedContextAgeInGC | 65 test = v8_detached_context_age_in_gc.V8DetachedContextAgeInGC |
| 65 page_set = page_sets.PageReloadCasesPageSet | 66 page_set = page_sets.PageReloadCasesPageSet |
| 66 | 67 |
| 67 @classmethod | 68 @classmethod |
| 68 def Name(cls): | 69 def Name(cls): |
| 69 return 'v8.detached_context_age_in_gc' | 70 return 'v8.detached_context_age_in_gc' |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 Designed to represent a mix between top websites and a set of pages that | 306 Designed to represent a mix between top websites and a set of pages that |
| 306 have unique V8 characteristics. | 307 have unique V8 characteristics. |
| 307 """ | 308 """ |
| 308 | 309 |
| 309 @classmethod | 310 @classmethod |
| 310 def Name(cls): | 311 def Name(cls): |
| 311 return 'v8.runtime_stats.top_25' | 312 return 'v8.runtime_stats.top_25' |
| 312 | 313 |
| 313 def CreateStorySet(self, options): | 314 def CreateStorySet(self, options): |
| 314 return page_sets.V8Top25StorySet() | 315 return page_sets.V8Top25StorySet() |
| OLD | NEW |