Index: tools/perf/page_sets/throttled_plugins.py |
diff --git a/tools/perf/page_sets/throttled_plugins.py b/tools/perf/page_sets/throttled_plugins.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3a72c3e1a4b41ae0f286b3b93834c90501147379 |
--- /dev/null |
+++ b/tools/perf/page_sets/throttled_plugins.py |
@@ -0,0 +1,22 @@ |
+# Copyright 2015 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+from telemetry.page import page |
+from telemetry.page import page_set |
+ |
+ |
+class ThrottledPluginsPageSet(page_set.PageSet): |
+ def __init__(self): |
+ super(ThrottledPluginsPageSet, self).__init__( |
+ user_agent_type='desktop', |
+ archive_data_file='data/throttled_plugins.json', |
+ bucket=page_set.PUBLIC_BUCKET) |
+ urls_with_throttled_plugins = [ |
+ 'http://cnn.com', |
+ 'http://techcrunch.com', |
+ 'http://wsj.com', |
+ 'http://youtube.com' |
+ ] |
+ for url in urls_with_throttled_plugins: |
+ self.AddUserStory(page.Page(url, page_set=self)) |