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 page_set
as page_set_module
7 class BigJsPageSet(page_set_module
.PageSet
):
9 """ Sites which load and run big JavaScript files."""
12 super(BigJsPageSet
, self
).__init
__(
13 archive_data_file
='data/big_js.json',
14 bucket
=page_set_module
.PARTNER_BUCKET
,
15 user_agent_type
='desktop')
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
23 'http://beta.unity3d.com/jonas/DT2/',
24 'https://www.youtube.com/watch?v=IJNR2EpS0jw',
28 self
.AddUserStory(page_module
.Page(url
, self
))