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

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

Issue 18576004: [telemetry] Add @RunOnBuildMastersNamed support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: redo Created 7 years, 5 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
OLDNEW
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 from telemetry import test 4 from telemetry import test
5 5
6 from perf_tools import page_cycler 6 from perf_tools import page_cycler
7 7
8 8
9 class NetsimTop25(test.Test): 9 class NetsimTop25(test.Test):
10 """Measures load time of the top 25 sites under simulated cable network.""" 10 """Measures load time of the top 25 sites under simulated cable network."""
11 test = page_cycler.PageCycler 11 test = page_cycler.PageCycler
12 page_set = 'tools/perf/page_sets/top_25.json' 12 page_set = 'tools/perf/page_sets/top_25.json'
13 options = { 13 options = {
14 'extra_wpr_args': [ 14 'extra_wpr_args': [
15 '--shaping_type=proxy', 15 '--shaping_type=proxy',
16 '--net=cable' 16 '--net=cable'
17 ], 17 ],
18 'pageset_repeat': '5', 18 'pageset_repeat': '5',
19 } 19 }
20 20
21 @staticmethod
22 def CanRunOnBot(bot_properties):
23 return bot_properties.master_name in ['default', 'chromium.perf']
bulach 2013/07/09 10:07:32 IMHO, sprinkling this "CanRunOnBot" makes it diffi
24
25
21 def __init__(self): 26 def __init__(self):
22 super(NetsimTop25, self).__init__() 27 super(NetsimTop25, self).__init__()
23 self.test.clear_cache_before_each_run = True 28 self.test.clear_cache_before_each_run = True
OLDNEW
« no previous file with comments | « no previous file | tools/perf/benchmarks/smoothness.py » ('j') | tools/telemetry/telemetry/test_runner.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698