| 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 measurements import page_cycler | 5 from measurements import page_cycler |
| 6 import page_sets | 6 import page_sets |
| 7 from telemetry import benchmark | 7 from telemetry import benchmark |
| 8 | 8 |
| 9 | 9 |
| 10 class _PageCycler(benchmark.Benchmark): | 10 class _PageCycler(benchmark.Benchmark): |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 page_set = page_sets.MorejsPageSet | 66 page_set = page_sets.MorejsPageSet |
| 67 | 67 |
| 68 | 68 |
| 69 # This is an old page set, we intend to remove it after more modern benchmarks | 69 # This is an old page set, we intend to remove it after more modern benchmarks |
| 70 # work on CrOS. | 70 # work on CrOS. |
| 71 @benchmark.Enabled('chromeos') | 71 @benchmark.Enabled('chromeos') |
| 72 class PageCyclerMoz(_PageCycler): | 72 class PageCyclerMoz(_PageCycler): |
| 73 page_set = page_sets.MozPageSet | 73 page_set = page_sets.MozPageSet |
| 74 | 74 |
| 75 | 75 |
| 76 @benchmark.Disabled('linux', 'win') # crbug.com/353260 | 76 @benchmark.Disabled('linux', 'win', 'mac') # crbug.com/353260 |
| 77 class PageCyclerNetsimTop10(_PageCycler): | 77 class PageCyclerNetsimTop10(_PageCycler): |
| 78 """Measures load time of the top 10 sites under simulated cable network.""" | 78 """Measures load time of the top 10 sites under simulated cable network.""" |
| 79 tag = 'netsim' | 79 tag = 'netsim' |
| 80 page_set = page_sets.Top10PageSet | 80 page_set = page_sets.Top10PageSet |
| 81 options = { | 81 options = { |
| 82 'cold_load_percent': 100, | 82 'cold_load_percent': 100, |
| 83 'extra_wpr_args_as_string': '--shaping_type=proxy --net=cable', | 83 'extra_wpr_args_as_string': '--shaping_type=proxy --net=cable', |
| 84 'pageset_repeat': 6, | 84 'pageset_repeat': 6, |
| 85 } | 85 } |
| 86 | 86 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 107 @benchmark.Disabled('android') # crbug.com/357326 | 107 @benchmark.Disabled('android') # crbug.com/357326 |
| 108 class PageCyclerToughLayoutCases(_PageCycler): | 108 class PageCyclerToughLayoutCases(_PageCycler): |
| 109 page_set = page_sets.ToughLayoutCasesPageSet | 109 page_set = page_sets.ToughLayoutCasesPageSet |
| 110 | 110 |
| 111 | 111 |
| 112 # crbug.com/273986: This test is really flakey on xp. | 112 # crbug.com/273986: This test is really flakey on xp. |
| 113 # cabug.com/341843: This test is always timing out on Android. | 113 # cabug.com/341843: This test is always timing out on Android. |
| 114 @benchmark.Disabled('android', 'win') | 114 @benchmark.Disabled('android', 'win') |
| 115 class PageCyclerTypical25(_PageCycler): | 115 class PageCyclerTypical25(_PageCycler): |
| 116 page_set = page_sets.Typical25PageSet | 116 page_set = page_sets.Typical25PageSet |
| OLD | NEW |