Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: tools/perf/page_sets/throttled_plugins.py

Issue 1144383005: Perf tests for Plugin Power Saver take 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sullivan@ review Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/page_sets/plugin_power_saver.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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))
« no previous file with comments | « tools/perf/page_sets/plugin_power_saver.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698