| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 from telemetry import test | 6 from telemetry import test |
| 7 | 7 |
| 8 | 8 |
| 9 class PageCyclerBloat(test.Test): | 9 class PageCyclerBloat(test.Test): |
| 10 test = page_cycler.PageCycler | 10 test = page_cycler.PageCycler |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 class PageCyclerMoz(test.Test): | 58 class PageCyclerMoz(test.Test): |
| 59 test = page_cycler.PageCycler | 59 test = page_cycler.PageCycler |
| 60 page_set = 'page_sets/page_cycler/moz.json' | 60 page_set = 'page_sets/page_cycler/moz.json' |
| 61 options = {'pageset_repeat': 10} | 61 options = {'pageset_repeat': 10} |
| 62 | 62 |
| 63 | 63 |
| 64 class PageCyclerNetsimTop10(test.Test): | 64 class PageCyclerNetsimTop10(test.Test): |
| 65 """Measures load time of the top 10 sites under simulated cable network.""" | 65 """Measures load time of the top 10 sites under simulated cable network.""" |
| 66 tag = 'netsim' | 66 tag = 'netsim' |
| 67 test = page_cycler.PageCycler | 67 test = page_cycler.PageCycler |
| 68 page_set = 'page_sets/top_10.json' | 68 page_set = 'page_sets/top_10.py' |
| 69 options = { | 69 options = { |
| 70 'cold_load_percent': 100, | 70 'cold_load_percent': 100, |
| 71 'extra_wpr_args': [ | 71 'extra_wpr_args': [ |
| 72 '--shaping_type=proxy', | 72 '--shaping_type=proxy', |
| 73 '--net=cable' | 73 '--net=cable' |
| 74 ], | 74 ], |
| 75 'pageset_repeat': 5, | 75 'pageset_repeat': 5, |
| 76 } | 76 } |
| 77 | 77 |
| 78 def __init__(self): | 78 def __init__(self): |
| (...skipping 21 matching lines...) Expand all Loading... |
| 100 options = {'pageset_repeat': 10} | 100 options = {'pageset_repeat': 10} |
| 101 | 101 |
| 102 | 102 |
| 103 # crbug.com/273986: This test is really flakey on xp. | 103 # crbug.com/273986: This test is really flakey on xp. |
| 104 # cabug.com/341843: This test is always timing out on Android. | 104 # cabug.com/341843: This test is always timing out on Android. |
| 105 @test.Disabled('android', 'win') | 105 @test.Disabled('android', 'win') |
| 106 class PageCyclerTypical25(test.Test): | 106 class PageCyclerTypical25(test.Test): |
| 107 test = page_cycler.PageCycler | 107 test = page_cycler.PageCycler |
| 108 page_set = 'page_sets/typical_25.json' | 108 page_set = 'page_sets/typical_25.json' |
| 109 options = {'pageset_repeat': 10} | 109 options = {'pageset_repeat': 10} |
| OLD | NEW |