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

Side by Side 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, 6 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 unified diff | Download patch
« no previous file with comments | « tools/perf/page_sets/plugin_power_saver.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 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
5 from telemetry.page import page
6 from telemetry.page import page_set
7
8
9 class ThrottledPluginsPageSet(page_set.PageSet):
10 def __init__(self):
11 super(ThrottledPluginsPageSet, self).__init__(
12 user_agent_type='desktop',
13 archive_data_file='data/throttled_plugins.json',
14 bucket=page_set.PUBLIC_BUCKET)
15 urls_with_throttled_plugins = [
16 'http://cnn.com',
17 'http://techcrunch.com',
18 'http://wsj.com',
19 'http://youtube.com'
20 ]
21 for url in urls_with_throttled_plugins:
22 self.AddUserStory(page.Page(url, page_set=self))
OLDNEW
« 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