Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: tools/perf/benchmarks/page_cycler.py

Issue 180873008: Add support for python pageset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove attributes from page constructor Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tools/perf/benchmarks/tab_switching.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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}
OLDNEW
« no previous file with comments | « no previous file | tools/perf/benchmarks/tab_switching.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698