Fix OOP <webview> resize and autosize.
[chromium-blink-merge.git] / tools / perf / page_sets / big_js.py
blobf473a1d62589a514b5a685cc11c14b4263cbc339
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.
4 from telemetry.page import page as page_module
5 from telemetry.page import shared_page_state
6 from telemetry import story
8 class BigJsPageSet(story.StorySet):
10 """ Sites which load and run big JavaScript files."""
12 def __init__(self):
13 super(BigJsPageSet, self).__init__(
14 archive_data_file='data/big_js.json',
15 cloud_storage_bucket=story.PARTNER_BUCKET)
17 # www.foo.com is a dummy page to make it easier to run only one interesting
18 # page at a time. You can't just run the interesting page on its own: Page
19 # sets with only one page don't work well, since we end up reusing a
20 # renderer all the time and it keeps its memory caches alive (see
21 # crbug.com/403735).
22 urls_list = [
23 'http://beta.unity3d.com/jonas/DT2/',
24 'https://www.youtube.com/watch?v=IJNR2EpS0jw',
25 'http://www.foo.com',
27 for url in urls_list:
28 self.AddStory(page_module.Page(
29 url, self,
30 shared_page_state_class=shared_page_state.SharedDesktopPageState))