Chromium Code Reviews| 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 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 @test.RunOnBuildMastersNamed('chromium.perf') | |
|
tonyg
2013/07/03 02:15:08
Does this need to be platform specific? For instan
| |
| 9 class NetsimTop25(test.Test): | 10 class NetsimTop25(test.Test): |
| 10 """Measures load time of the top 25 sites under simulated cable network.""" | 11 """Measures load time of the top 25 sites under simulated cable network.""" |
| 11 test = page_cycler.PageCycler | 12 test = page_cycler.PageCycler |
| 12 page_set = 'tools/perf/page_sets/top_25.json' | 13 page_set = 'tools/perf/page_sets/top_25.json' |
| 13 options = { | 14 options = { |
| 14 'extra_wpr_args': [ | 15 'extra_wpr_args': [ |
| 15 '--shaping_type=proxy', | 16 '--shaping_type=proxy', |
| 16 '--net=cable' | 17 '--net=cable' |
| 17 ], | 18 ], |
| 18 'pageset_repeat': '5', | 19 'pageset_repeat': '5', |
| 19 } | 20 } |
| 20 | 21 |
| 21 def __init__(self): | 22 def __init__(self): |
| 22 super(NetsimTop25, self).__init__() | 23 super(NetsimTop25, self).__init__() |
| 23 self.test.clear_cache_before_each_run = True | 24 self.test.clear_cache_before_each_run = True |
| OLD | NEW |