Make the position of 'n files selected' label synced with the width of navigation...
[chromium-blink-merge.git] / tools / perf / page_sets / top_desktop_sites_2012Q3_stress.py
blobb94fca8799d07e7858d3ff163bfcfc14b808f417
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.archive_data_file = 'data/2012Q3.json'
18 def RunPageInteractions(self, action_runner):
19 for _ in xrange(3):
20 action_runner.ReloadPage()
21 action_runner.Wait(1)
22 action_runner.ForceGarbageCollection()
25 class Top2012Q3StressPageSet(page_set.PageSet):
26 """ Pages hand-picked from top-lists in Q32012. """
28 def __init__(self):
29 super(Top2012Q3StressPageSet, self).__init__(
30 archive_data_file='data/2012Q3.json',
31 bucket=page_set.PARTNER_BUCKET)
33 for url in top_desktop_sites_2012Q3.TOP_2013_URLS:
34 self.AddUserStory(Top2012Q3StressPage(url, self))