Change next_proto member type.
[chromium-blink-merge.git] / tools / perf / page_sets / top_desktop_sites_2012Q3_stress.py
blobc9bc0961291ce0da1115f04d636380e783c7d0eb
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 from page_sets import top_desktop_sites_2012Q3
7 from telemetry.page import page_set
8 from telemetry.page import page
11 class Top2012Q3StressPage(page.Page):
13 def __init__(self, url, ps):
14 super(Top2012Q3StressPage, self).__init__(
15 url=url, page_set=ps, credentials_path='data/credentials.json')
16 self.make_javascript_deterministic = True
17 self.archive_data_file = 'data/2012Q3.json'
19 def RunPageInteractions(self, action_runner):
20 for _ in xrange(3):
21 action_runner.ReloadPage()
22 action_runner.Wait(1)
23 action_runner.ForceGarbageCollection()
26 class Top2012Q3StressPageSet(page_set.PageSet):
27 """ Pages hand-picked from top-lists in Q32012. """
29 def __init__(self):
30 super(Top2012Q3StressPageSet, self).__init__(
31 make_javascript_deterministic=True,
32 archive_data_file='data/2012Q3.json',
33 bucket=page_set.PARTNER_BUCKET)
35 for url in top_desktop_sites_2012Q3.TOP_2013_URLS:
36 self.AddPage(Top2012Q3StressPage(url, self))