OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 from core import perf_benchmark | 5 from core import perf_benchmark |
6 | 6 |
7 from measurements import page_cycler | 7 from measurements import page_cycler |
8 import page_sets | 8 import page_sets |
9 from telemetry import benchmark | 9 from telemetry import benchmark |
10 | 10 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 """Page load time benchmark for a variety of pages in Japanese and Chinese. | 89 """Page load time benchmark for a variety of pages in Japanese and Chinese. |
90 | 90 |
91 Runs against pages recorded in April, 2013. | 91 Runs against pages recorded in April, 2013. |
92 """ | 92 """ |
93 page_set = page_sets.IntlJaZhPageSet | 93 page_set = page_sets.IntlJaZhPageSet |
94 | 94 |
95 @classmethod | 95 @classmethod |
96 def Name(cls): | 96 def Name(cls): |
97 return 'page_cycler.intl_ja_zh' | 97 return 'page_cycler.intl_ja_zh' |
98 | 98 |
| 99 @classmethod |
| 100 def ValueCanBeAddedPredicate(cls, value, is_first_result): |
| 101 # Filter out vm_private_dirty_final_renderer |
| 102 # crbug.com/551522 |
| 103 print '**** %s ***' % value.name |
| 104 filtered_name = ( |
| 105 'vm_private_dirty_final_renderer.vm_private_dirty_final_renderer') |
| 106 return (super(PageCyclerIntlJaZh, cls).ValueCanBeAddedPredicate( |
| 107 value, is_first_result) and value.name != filtered_name) |
| 108 |
99 | 109 |
100 @benchmark.Disabled('xp', 'android') # crbug.com/434366, crbug.com/506903 | 110 @benchmark.Disabled('xp', 'android') # crbug.com/434366, crbug.com/506903 |
101 class PageCyclerIntlKoThVi(_PageCycler): | 111 class PageCyclerIntlKoThVi(_PageCycler): |
102 """Page load time for a variety of pages in Korean, Thai and Vietnamese. | 112 """Page load time for a variety of pages in Korean, Thai and Vietnamese. |
103 | 113 |
104 Runs against pages recorded in April, 2013. | 114 Runs against pages recorded in April, 2013. |
105 """ | 115 """ |
106 page_set = page_sets.IntlKoThViPageSet | 116 page_set = page_sets.IntlKoThViPageSet |
107 | 117 |
108 @classmethod | 118 @classmethod |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 def Name(cls): | 256 def Name(cls): |
247 return 'page_cycler.basic_oopif' | 257 return 'page_cycler.basic_oopif' |
248 | 258 |
249 | 259 |
250 @benchmark.Disabled('all') # crbug.com/443730 | 260 @benchmark.Disabled('all') # crbug.com/443730 |
251 class PageCyclerBigJs(_PageCycler): | 261 class PageCyclerBigJs(_PageCycler): |
252 page_set = page_sets.BigJsPageSet | 262 page_set = page_sets.BigJsPageSet |
253 @classmethod | 263 @classmethod |
254 def Name(cls): | 264 def Name(cls): |
255 return 'page_cycler.big_js' | 265 return 'page_cycler.big_js' |
OLD | NEW |