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

Unified Diff: tools/perf/page_sets/plugin_power_saver.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/data/throttled_plugins_004.wpr.sha1 ('k') | tools/perf/page_sets/throttled_plugins.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/page_sets/plugin_power_saver.py
diff --git a/tools/perf/page_sets/plugin_power_saver.py b/tools/perf/page_sets/plugin_power_saver.py
new file mode 100644
index 0000000000000000000000000000000000000000..fb13b44330416508b4cae5b057b7762d84ad5575
--- /dev/null
+++ b/tools/perf/page_sets/plugin_power_saver.py
@@ -0,0 +1,16 @@
+# 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 PluginPowerSaverPageSet(page_set.PageSet):
+ def __init__(self):
+ super(PluginPowerSaverPageSet, self).__init__(
+ user_agent_type='desktop',
+ archive_data_file='data/plugin_power_saver.json',
+ bucket=page_set.PUBLIC_BUCKET)
+ self.AddUserStory(page.Page('http://a.tommycli.com/small_only.html',
+ page_set=self))
« no previous file with comments | « tools/perf/page_sets/data/throttled_plugins_004.wpr.sha1 ('k') | tools/perf/page_sets/throttled_plugins.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698