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

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

Issue 23618042: [telemetry] Add new benchmarks and rename them all. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
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 from telemetry import test 4 from telemetry import test
5 5
6 from measurements import page_cycler 6 from measurements import page_cycler
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 62
63 class PageCyclerMoz(test.Test): 63 class PageCyclerMoz(test.Test):
64 test = page_cycler.PageCycler 64 test = page_cycler.PageCycler
65 page_set = 'page_sets/page_cycler/moz.json' 65 page_set = 'page_sets/page_cycler/moz.json'
66 options = {'pageset_repeat_iters': 10} 66 options = {'pageset_repeat_iters': 10}
67 67
68 68
69 class PageCyclerNetsimTop10(test.Test): 69 class PageCyclerNetsimTop10(test.Test):
70 """Measures load time of the top 10 sites under simulated cable network.""" 70 """Measures load time of the top 10 sites under simulated cable network."""
71 name = 'netsim.top_10'
71 test = page_cycler.PageCycler 72 test = page_cycler.PageCycler
72 page_set = 'page_sets/top_10.json' 73 page_set = 'page_sets/top_10.json'
73 options = { 74 options = {
74 'extra_wpr_args': [ 75 'extra_wpr_args': [
75 '--shaping_type=proxy', 76 '--shaping_type=proxy',
76 '--net=cable' 77 '--net=cable'
77 ], 78 ],
78 'pageset_repeat_iters': 5, 79 'pageset_repeat_iters': 5,
79 } 80 }
80 81
81 def __init__(self): 82 def __init__(self):
82 super(PageCyclerNetsimTop10, self).__init__() 83 super(PageCyclerNetsimTop10, self).__init__()
83 # TODO: This isn't quite right. 84 # TODO: This isn't quite right.
84 # This option will still apply to page cyclers that run after this one. 85 # This option will still apply to page cyclers that run after this one.
85 self.test.clear_cache_before_each_run = True 86 self.test.clear_cache_before_each_run = True
86 87
87 88
89 class PageCyclerToughLayoutCases(test.Test):
90 test = page_cycler.PageCycler
91 page_set = 'page_sets/tough_layout_cases.json'
92 options = {'pageset_repeat_iters': 10}
93
94
88 class PageCyclerTypical25(test.Test): 95 class PageCyclerTypical25(test.Test):
89 test = page_cycler.PageCycler 96 test = page_cycler.PageCycler
90 page_set = 'page_sets/typical_25.json' 97 page_set = 'page_sets/typical_25.json'
91 options = {'pageset_repeat_iters': 10} 98 options = {'pageset_repeat_iters': 10}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698